openbsd-ports/mail/z-push/patches/patch-config_php
ajacoutot e1cbe550ae Update to z-push-1.5.
Add a module config file for apache as well as (UN)MESSAGE docs.
2011-03-07 19:50:26 +00:00

37 lines
1.4 KiB
Plaintext

$OpenBSD: patch-config_php,v 1.4 2011/03/07 19:50:26 ajacoutot Exp $
--- config.php.orig Fri Nov 19 22:20:24 2010
+++ config.php Tue Jan 25 09:47:57 2011
@@ -42,7 +42,7 @@
************************************************/
// Defines the default time zone
if (function_exists("date_default_timezone_set")){
- date_default_timezone_set("Europe/Amsterdam");
+ date_default_timezone_set("Europe/London");
}
// Defines the base path on the server, terminated by a slash
@@ -53,9 +53,10 @@
BASE_PATH. "include/" . PATH_SEPARATOR .
BASE_PATH. PATH_SEPARATOR .
ini_get('include_path') . PATH_SEPARATOR .
- "/usr/share/php/" . PATH_SEPARATOR .
- "/usr/share/php5/" . PATH_SEPARATOR .
- "/usr/share/pear/");
+ "/include/php/" . PATH_SEPARATOR .
+ "/var/www/include/php/" . PATH_SEPARATOR .
+ "/var/www/pear/" . PATH_SEPARATOR .
+ "/pear/");
define('STATE_DIR', BASE_PATH.'/state');
@@ -89,7 +90,8 @@
// ************************
// Defines the server to which we want to connect
- define('MAPI_SERVER', 'file:///var/run/zarafa');
+ #define('MAPI_SERVER', 'file:///var/run/zarafa');
+ define('MAPI_SERVER', 'http://localhost:236/zarafa');
// ************************