1.1 --- a/debian/patches/index-config-path.diff Sat Aug 16 17:55:09 2014 +0200
1.2 +++ b/debian/patches/index-config-path.diff Sat Aug 16 18:06:13 2014 +0200
1.3 @@ -1,5 +1,5 @@
1.4 ---- a/web/index.php
1.5 -+++ b/web/index.php
1.6 +--- a/public_html/index.php
1.7 ++++ b/public_html/index.php
1.8 @@ -26,6 +26,7 @@
1.9
1.10
1.11 @@ -8,12 +8,12 @@
1.12
1.13 // suppress error notices
1.14 ini_set('error_reporting', E_ALL &~ E_NOTICE);
1.15 -@@ -41,7 +42,7 @@
1.16 +@@ -42,7 +43,7 @@
1.17
1.18
1.19 // load config
1.20 --$config = Config::getInstance(KOLAB_FREEBUSY_ROOT . '/config');
1.21 -+$config = Config::getInstance(KOLAB_FREEBUSY_CONFIG_ROOT);
1.22 - if ($config->isValid()) {
1.23 +-$config = Config::get_instance(KOLAB_FREEBUSY_ROOT . '/config');
1.24 ++$config = Config::get_instance(KOLAB_FREEBUSY_CONFIG_ROOT);
1.25 + if ($config->valid()) {
1.26 // check for trusted IP first
1.27 $remote_ip = Utils::remoteIP();