1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/debian/patches/index-config-path.diff Sat Feb 22 00:47:26 2014 +0100
1.3 @@ -0,0 +1,19 @@
1.4 +--- a/web/index.php
1.5 ++++ b/web/index.php
1.6 +@@ -26,6 +26,7 @@
1.7 +
1.8 +
1.9 + define('KOLAB_FREEBUSY_ROOT', realpath('../'));
1.10 ++define('KOLAB_FREEBUSY_CONFIG_ROOT', '/etc/kolab-freebusy');
1.11 +
1.12 + // suppress error notices
1.13 + ini_set('error_reporting', E_ALL &~ E_NOTICE);
1.14 +@@ -41,7 +42,7 @@
1.15 +
1.16 +
1.17 + // load config
1.18 +-$config = Config::getInstance(KOLAB_FREEBUSY_ROOT . '/config');
1.19 ++$config = Config::getInstance(KOLAB_FREEBUSY_CONFIG_ROOT);
1.20 + if ($config->isValid()) {
1.21 + // check for trusted IP first
1.22 + $remote_ip = Utils::remoteIP();