diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index 571a3f89f72b54401df4cfc24f742f21c8d9db57..44d05cfe0d0e0e9628474e76c7c2b1a4cf4614d0 100644 (file)
#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") != ""){