$NetBSD: patch-aa,v 1.3 2008/10/02 15:47:15 schmonz Exp $

--- config/main.inc.php.dist.orig	2008-09-21 07:22:17.000000000 -0400
+++ config/main.inc.php.dist
@@ -30,10 +30,10 @@ $rcmail_config['syslog_facility'] = LOG_
 
 // 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/';
 
 // enable caching of messages and mailbox data in the local database.
 // this is recommended if the IMAP server does not run on the same machine
@@ -378,4 +378,7 @@ $rcmail_config['logout_expunge'] = FALSE
 $rcmail_config['inline_images'] = TRUE;
 
 // end of config file
+
+include_once('main-local.inc.php');
+
 ?>
