X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_config.inc;h=c01a2ec0e519fe9e696298030f2692cccbe49b79;hb=226580d683c1bebd09e732b0ce8af02935fd7e31;hp=741207e2eb06e24e31c6cfbf5db527cd0360921e;hpb=fccaf95b90012b6946d1c60dc7de21270921ddfc;p=gosa.git diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 741207e2e..c01a2ec0e 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -86,7 +86,7 @@ class config { } // Load configuration registry - $this->configRegistry = new configRegistry(); + $this->configRegistry = new configRegistry($this); } @@ -1077,10 +1077,12 @@ class config { */ function get_cfg_value($name, $default= "") { - if($this->configRegistry->propertyExists($name)){ - return($this->configRegistry->getPropertyValue($name)); - } + if($this->configRegistry->propertyExists('core',$name)){ + return($this->configRegistry->getPropertyValue('core',$name)); + } + + syslog(1, $name); $name= strtoupper($name);