diff options
Diffstat (limited to 'community/roundcubemail/fix-dirs.patch')
-rw-r--r-- | community/roundcubemail/fix-dirs.patch | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/community/roundcubemail/fix-dirs.patch b/community/roundcubemail/fix-dirs.patch index bb0f809c35..3d0807fb15 100644 --- a/community/roundcubemail/fix-dirs.patch +++ b/community/roundcubemail/fix-dirs.patch @@ -1,15 +1,19 @@ ---- a/config/config.inc.php.sample -+++ b/config/config.inc.php.sample -@@ -84,3 +84,9 @@ +--- a/config/defaults.inc.php ++++ b/config/defaults.inc.php +@@ -382,11 +382,11 @@ + // use this folder to store log files + // must be writeable for the user who runs PHP process (Apache user if mod_php is being used) + // This is used by the 'file' log driver. +-$config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/'; ++$config['log_dir'] = '/var/log/roundcube'; - // skin name: folder from skins/ - $config['skin'] = 'larry'; -+ -+// Temporary directory + // use this folder to store temp files + // must be writeable for the user who runs PHP process (Apache user if mod_php is being used) +-$config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/'; +$config['temp_dir'] = '/tmp'; -+ -+// Log directory -+$config['log_dir'] = '/var/log/roundcube'; + + // expire files in temp_dir after 48 hours + // possible units: s, m, h, d, w --- a/program/include/iniset.php +++ b/program/include/iniset.php @@ -29,7 +29,7 @@ |