]> git.donarmstrong.com Git - roundcube.git/blob - debian/patches/correct_install_path.patch
Refresh all patches.
[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: roundcube/program/include/iniset.php
4 ===================================================================
5 --- roundcube.orig/program/include/iniset.php   2012-09-29 11:30:58.643126935 +0200
6 +++ roundcube/program/include/iniset.php        2012-09-29 11:31:44.360041205 +0200
7 @@ -43,7 +43,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')) {