X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_gosaSupportDaemon.inc;h=81272f9a4c5f4e808a7a9e7e685aca6df02eac93;hb=9773098162a69430e5c427eb458578bb39e15560;hp=bcb62fd9ecc4f906d09a716608d43a2e75deb082;hpb=8773ce7598843d3216569e541f4ef32f74866234;p=gosa.git diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index bcb62fd9e..81272f9a4 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -62,7 +62,7 @@ class gosaSupportDaemon // Detect timeout if($timeout == null){ - $timeout = $config->get_cfg_value("gosaSupportTimeout",15); + $timeout = $config->get_cfg_value("core","gosaSupportTimeout"); } /* This should only be the case if we call this from setup. @@ -71,12 +71,12 @@ class gosaSupportDaemon if(!is_object($config)) { return; } # load from config, store statically - if ($config->get_cfg_value("gosaSupportURI") != ""){ + if ($config->get_cfg_value("core","gosaSupportURI") != ""){ if ($this->s_host == ""){ - $this->s_host= preg_replace("/^.*@([^:]+):.*$/", "$1", $config->get_cfg_value("gosaSupportURI")); - $this->i_port= preg_replace("/^.*@[^:]+:(.*)$/", "$1", $config->get_cfg_value("gosaSupportURI")); - $this->s_encryption_key = preg_replace("/^(.*)@[^:]+:.*$/", "$1", $config->get_cfg_value("gosaSupportURI")); + $this->s_host= preg_replace("/^.*@([^:]+):.*$/", "$1", $config->get_cfg_value("core","gosaSupportURI")); + $this->i_port= preg_replace("/^.*@[^:]+:(.*)$/", "$1", $config->get_cfg_value("core","gosaSupportURI")); + $this->s_encryption_key = preg_replace("/^(.*)@[^:]+:.*$/", "$1", $config->get_cfg_value("core","gosaSupportURI")); } $this->is_configured = TRUE; $this->f_timeout = $timeout;