1 --- a/public_html/index.php 2 +++ b/public_html/index.php 3 @@ -26,6 +26,7 @@ 4 5 6 define('KOLAB_FREEBUSY_ROOT', realpath('../')); 7 +define('KOLAB_FREEBUSY_CONFIG_ROOT', '/etc/kolab-freebusy'); 8 9 // suppress error notices 10 ini_set('error_reporting', E_ALL &~ E_NOTICE); 11 @@ -42,7 +43,7 @@ 12 13 14 // load config 15 -$config = Config::get_instance(KOLAB_FREEBUSY_ROOT . '/config'); 16 +$config = Config::get_instance(KOLAB_FREEBUSY_CONFIG_ROOT); 17 if ($config->valid()) { 18 // check for trusted IP first 19 $remote_ip = Utils::remoteIP();