Code

Added property class to get_cfg_requests
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:06:03 +0000 (10:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:06:03 +0000 (10:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18143 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_userinfo.inc

index dae522f0f46ce28e24e30a023c68fe39c10701a3..615b49fcb49bb01581d63ed7cd36d8f9d54f954d 100644 (file)
@@ -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 = "";