$OpenBSD: patch-php-webclient-ajax_config_php_dist,v 1.2 2010/12/11 08:20:21 ajacoutot Exp $
--- php-webclient-ajax/config.php.dist.orig	Thu Dec  2 10:48:11 2010
+++ php-webclient-ajax/config.php.dist	Fri Dec  3 18:09:32 2010
@@ -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");
 
 	// When using a single-signon system on your webserver, but Zarafa is on another server
 	// you can use https to access the zarafa server, and authenticate using an SSL certificate.
@@ -46,12 +46,13 @@
 
 	// Defines the temp path (absolute). Here uploaded attachments will be saved.
 	// The web client doesn't work without this directory.
-	define("TMP_PATH", "/var/lib/zarafa-webaccess/tmp");
+	define("TMP_PATH", "/tmp");
 
 	// 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&");
@@ -134,7 +135,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!
 
 	/**************************************\
