$OpenBSD: patch-php-webclient-ajax_config_php_dist,v 1.1.1.1 2009/02/16 09:43:39 ajacoutot Exp $
--- php-webclient-ajax/config.php.dist.orig	Wed Dec 24 15:50:05 2008
+++ php-webclient-ajax/config.php.dist	Thu Jan  8 11:22:48 2009
@@ -11,9 +11,9 @@
 	define("CONFIG_CHECK", TRUE);
 
 	// Default Zarafa server to connect to.
-	define("DEFAULT_SERVER","file:///var/run/zarafa");
+	#define("DEFAULT_SERVER","file:///var/run/zarafa");
 	#define("DEFAULT_SERVER","file://\\\\.\\pipe\\zarafa");
-	#define("DEFAULT_SERVER","http://localhost:236/zarafa");
+	define("DEFAULT_SERVER","http://localhost:236/zarafa");
 
 	// Name of the cookie that is used for the session, we can also use an external cookie
 	if (isset($_REQUEST["external"]) && preg_match("/[a-z][a-z0-9_]+/i",$_REQUEST["external"])){
@@ -43,7 +43,8 @@
 	// Define the server paths
 	set_include_path(BASE_PATH. PATH_SEPARATOR . 
 	                 BASE_PATH."server/PEAR/" .  PATH_SEPARATOR . 
-	                 "/usr/share/php/");
+	                 "/include/php/" .  PATH_SEPARATOR . 
+	                 "/var/www/include/php/");
 
 	// Define the relative URL for dialogs, this string is appended with HTTP GET arguments
 	define("DIALOG_URL", "index.php?load=dialog&");
@@ -83,7 +84,7 @@
 
 	// Spellchecker, change here to enable
 	define('FCKEDITOR_SPELLCHECKER_ENABLED', false);
-	define('FCKEDITOR_SPELLCHECKER_PATH', '/usr/bin/aspell');
+	define('FCKEDITOR_SPELLCHECKER_PATH', '${LOCALBASE}/bin/aspell');
 	define('FCKEDITOR_SPELLCHECKER_LANGUAGE', FALSE); // set FALSE to use the language chosen by the user, but make sure that these languages are installed with aspell!
 
 	/**************************************\
