aboutsummaryrefslogtreecommitdiffstats
path: root/community/roundcubemail/fix-dirs.patch
blob: bb0f809c357797dc93f5355680f0f59b9c3a2fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- a/config/config.inc.php.sample
+++ b/config/config.inc.php.sample
@@ -84,3 +84,9 @@
 
 // skin name: folder from skins/
 $config['skin'] = 'larry';
+
+// Temporary directory
+$config['temp_dir'] = '/tmp';
+
+// Log directory
+$config['log_dir'] = '/var/log/roundcube';
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -29,7 +29,7 @@
 }
 
 if (!defined('RCMAIL_CONFIG_DIR')) {
-    define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config');
+    define('RCMAIL_CONFIG_DIR', '/etc/roundcube');
 }
 
 if (!defined('RCUBE_LOCALIZATION_DIR')) {
--- a/program/lib/Roundcube/bootstrap.php
+++ b/program/lib/Roundcube/bootstrap.php
@@ -65,7 +65,7 @@
 }
 
 if (!defined('RCUBE_CONFIG_DIR')) {
-    define('RCUBE_CONFIG_DIR', RCUBE_INSTALL_PATH . 'config/');
+    define('RCUBE_CONFIG_DIR', '/etc/roundcube');
 }
 
 if (!defined('RCUBE_PLUGINS_DIR')) {