]> git.donarmstrong.com Git - roundcube.git/blob - debian/patches/correct_install_path.patch
Merge commit 'upstream/0.5' into unstable-import
[roundcube.git] / debian / patches / correct_install_path.patch
1 Install path is /var/lib/roundcube for Debian. Don't try to guess it.
2
3 Index: b/program/include/iniset.php
4 ===================================================================
5 --- a/program/include/iniset.php        2010-07-17 17:33:04.000000000 +0200
6 +++ b/program/include/iniset.php        2010-07-17 17:33:23.000000000 +0200
7 @@ -27,7 +27,7 @@
8  define('JS_OBJECT_NAME', 'rcmail');
9  
10  if (!defined('INSTALL_PATH')) {
11 -  define('INSTALL_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/');
12 +  define('INSTALL_PATH', '/var/lib/roundcube/');
13  }
14  
15  define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config');