X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Fpatches%2Fcorrect_install_path.patch;h=8970045b70c7fe746d884293dcaeeeae8229bd0a;hb=5073df0f02f556142911afec7b1bfa193eb0de7a;hp=b8e6daa45abcec466b34ac85a7ecabf65bf0df84;hpb=0682ba561c9e444ed77692718d75f0226401cce8;p=roundcube.git diff --git a/debian/patches/correct_install_path.patch b/debian/patches/correct_install_path.patch index b8e6daa..8970045 100644 --- a/debian/patches/correct_install_path.patch +++ b/debian/patches/correct_install_path.patch @@ -1,13 +1,15 @@ Install path is /var/lib/roundcube for Debian. Don't try to guess it. ---- a/program/include/iniset.php~ 2008-06-09 22:57:53.000000000 +0200 -+++ a/program/include/iniset.php 2008-06-22 12:10:55.000000000 +0200 -@@ -27,7 +27,7 @@ - define('JS_OBJECT_NAME', 'rcmail'); +Index: roundcube/program/include/iniset.php +=================================================================== +--- roundcube.orig/program/include/iniset.php 2012-09-29 11:30:58.643126935 +0200 ++++ roundcube/program/include/iniset.php 2012-09-29 11:31:44.360041205 +0200 +@@ -43,7 +43,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/'); } - // make sure path_separator is defined + if (!defined('RCMAIL_CONFIG_DIR')) {