diff options
Diffstat (limited to 'community/roundcubemail/fix-dirs.patch')
-rw-r--r-- | community/roundcubemail/fix-dirs.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/roundcubemail/fix-dirs.patch b/community/roundcubemail/fix-dirs.patch new file mode 100644 index 0000000000..e4a537700d --- /dev/null +++ b/community/roundcubemail/fix-dirs.patch @@ -0,0 +1,22 @@ +--- a/installer/index.php ++++ b/installer/index.php +@@ -41,7 +41,7 @@ + + define('INSTALL_PATH', realpath(dirname(__FILE__) . '/../').'/'); + define('RCUBE_INSTALL_PATH', INSTALL_PATH); +-define('RCUBE_CONFIG_DIR', INSTALL_PATH . 'config/'); ++define('RCUBE_CONFIG_DIR', '/etc/roundcube'); + + $include_path = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR; + $include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR; +--- a/program/include/iniset.php ++++ b/program/include/iniset.php +@@ -44,7 +44,7 @@ + } + + if (!defined('RCMAIL_CONFIG_DIR')) { +- define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config'); ++ define('RCMAIL_CONFIG_DIR', '/etc/roundcube'); + } + + if (!defined('RCUBE_LOCALIZATION_DIR')) { |