1
0
forked from pool/roundcubemail
roundcubemail/roundcubemail-config-dir.patch

20 lines
619 B
Diff
Raw Normal View History

--- roundcubemail-0.4.2/program/include/iniset.php.orig
+++ roundcubemail-0.4.2/program/include/iniset.php
@@ -40,14 +40,13 @@ define('RCMAIL_VERSION', '0.4.2');
define('RCMAIL_CHARSET', 'UTF-8');
define('JS_OBJECT_NAME', 'rcmail');
define('RCMAIL_START', microtime(true));
+define('RCMAIL_CONFIG_DIR', '/etc/roundcubemail');
if (!defined('INSTALL_PATH')) {
define('INSTALL_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/');
}
-if (!defined('RCMAIL_CONFIG_DIR')) {
- define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config');
-}
+
// make sure path_separator is defined
if (!defined('PATH_SEPARATOR')) {