X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=debian%2Fpatches%2Fcorrect_install_path.patch;h=6afa0984acb4ff25003c34682d8d1895e336be37;hb=4c4508d948b6c3fc0bb4848e2bf07d1c905ddd5c;hp=04ec738a1c854a90511b0e9d39611721e8bb9750;hpb=a125b2558ca359e6eacc6326816edac68b1b93a3;p=roundcube.git diff --git a/debian/patches/correct_install_path.patch b/debian/patches/correct_install_path.patch index 04ec738..6afa098 100644 --- a/debian/patches/correct_install_path.patch +++ b/debian/patches/correct_install_path.patch @@ -4,12 +4,12 @@ Index: b/program/include/iniset.php =================================================================== --- a/program/include/iniset.php 2010-07-17 17:33:04.000000000 +0200 +++ b/program/include/iniset.php 2010-07-17 17:33:23.000000000 +0200 -@@ -27,7 +27,7 @@ - define('JS_OBJECT_NAME', 'rcmail'); +@@ -42,7 +42,7 @@ + define('RCMAIL_START', microtime(true)); if (!defined('INSTALL_PATH')) { -- define('INSTALL_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/'); -+ define('INSTALL_PATH', '/var/lib/roundcube/'); +- define('INSTALL_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/'); ++ define('INSTALL_PATH', '/var/lib/roundcube/'); } - - define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config'); + + if (!defined('RCMAIL_CONFIG_DIR')) {