From 0e484188da012f53726fce1ffde1fc0585f6abb4 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 May 2010 10:06:03 +0000 Subject: [PATCH] Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18143 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_userinfo.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 = ""; -- 2.30.2