From: hickert Date: Wed, 5 May 2010 10:06:03 +0000 (+0000) Subject: Added property class to get_cfg_requests X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e484188da012f53726fce1ffde1fc0585f6abb4;p=gosa.git Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18143 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index dae522f0f..615b49fcb 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -77,7 +77,7 @@ class userinfo $this->uid= $attrs['uid'][0]; $this->ip= $_SERVER['REMOTE_ADDR']; - $this->ignoreACL = ($this->config->get_cfg_value("ignoreAcl") == $this->dn); + $this->ignoreACL = ($this->config->get_cfg_value("core","ignoreAcl") == $this->dn); /* Initialize ACL_CACHE */ $this->reset_acl_cache(); @@ -370,7 +370,7 @@ class userinfo $aclCategory = $object; } - if($this->config->get_cfg_value("displayErrors") == "true"){ + if($this->config->get_cfg_value("core","displayErrors") == "true"){ if(!isset($this->ocMapping[$aclCategory])){ trigger_error("Invalid ACL category '".$aclCategory."'! ({$object})"); return(""); @@ -744,7 +744,7 @@ class userinfo } } }else{ - if($this->config->get_cfg_value("displayErrors") == "true"){ + if($this->config->get_cfg_value("core","displayErrors") == "true"){ trigger_error("Invalid type of category ".$category); } $acl = "";