]> git.donarmstrong.com Git - roundcube.git/blob - debian/patches/correct_install_path.patch
6afa0984acb4ff25003c34682d8d1895e336be37
[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 @@ -42,7 +42,7 @@
8  define('RCMAIL_START', microtime(true));
9  
10  if (!defined('INSTALL_PATH')) {
11 -    define('INSTALL_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/');
12 +    define('INSTALL_PATH', '/var/lib/roundcube/');
13  }
14
15  if (!defined('RCMAIL_CONFIG_DIR')) {