index 63f82ac3748e75d54ca1534bf6043aae6d0ede57..c69ef528ea0a9a759db25124bbff2f7feba9d6e5 100644 (file)
$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();
$aclCategory = $object;
}
- if($this->config->get_cfg_value("displayerrors") == "true"){
+ if($this->config->boolValueIsTrue("core","developmentMode")){
+
if(!isset($this->ocMapping[$aclCategory])){
trigger_error("Invalid ACL category '".$aclCategory."'! ({$object})");
return("");
}
}
}else{
- if($this->config->get_cfg_value("displayerrors") == "true"){
+ if($this->config->boolValueIsTrue("core","developmentMode")){
trigger_error("Invalid type of category ".$category);
}
$acl = "";