$NetBSD: patch-aa,v 1.6 2009/11/23 09:37:46 ghen Exp $

--- config/main.inc.php.dist.orig	2009-10-21 10:47:40.000000000 +0200
+++ config/main.inc.php.dist	2009-11-23 09:48:52.000000000 +0100
@@ -33,10 +33,10 @@
 
 // use this folder to store log files (must be writeable for apache user)
 // This is used by the 'file' log driver.
-$rcmail_config['log_dir'] = 'logs/';
+$rcmail_config['log_dir'] = '@VARBASE@/log/roundcube/';
 
 // use this folder to store temp files (must be writeable for apache user)
-$rcmail_config['temp_dir'] = 'temp/';
+$rcmail_config['temp_dir'] = '@VARBASE@/tmp/roundcube/';
 
 // List of active plugins (in plugins/ directory)
 $rcmail_config['plugins'] = array();
@@ -451,4 +451,7 @@
 $rcmail_config['index_sort'] = TRUE;
 
 // end of config file
+
+include_once('main-local.inc.php');
+
 ?>
