From: hickert Date: Fri, 25 Jul 2008 08:43:32 +0000 (+0000) Subject: Fixed white-page in setup. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6b427a4efb6d7e4e40ad96ae32a35f61af301d05;p=gosa.git Fixed white-page in setup. - $config wasn't available during setup. include/class_gosaSupportDaemon.inc git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12039 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 571a3f89f..44d05cfe0 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -46,6 +46,11 @@ class gosaSupportDaemon #FIXME: bad idea about referencing global variables from within classes global $config; + /* This should only be the case if we call this from setup. + __autoload() + */ + if(!is_object($config)) { return; } + # load from config, store statically if ($config->get_cfg_value("gosa_si") != ""){