aboutsummaryrefslogtreecommitdiffstats
path: root/community/roundcubemail/fix-dirs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/roundcubemail/fix-dirs.patch')
-rw-r--r--community/roundcubemail/fix-dirs.patch22
1 files changed, 11 insertions, 11 deletions
diff --git a/community/roundcubemail/fix-dirs.patch b/community/roundcubemail/fix-dirs.patch
index e4a537700d..ce881fbeac 100644
--- a/community/roundcubemail/fix-dirs.patch
+++ b/community/roundcubemail/fix-dirs.patch
@@ -1,14 +1,3 @@
---- 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 @@
@@ -20,3 +9,14 @@
}
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')) {