aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_module.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-02-12 15:07:44 +0000
committerNils Adermann <naderman@naderman.de>2006-02-12 15:07:44 +0000
commit6c1f403b8ed77c5c0c96563e07e88b779d92dd64 (patch)
tree5761970e3101da2b9adf8908802ddbfc72185441 /phpBB/includes/functions_module.php
parent626d837db879be8eef1e39dbf4e78a9edb21d7c5 (diff)
downloadforums-6c1f403b8ed77c5c0c96563e07e88b779d92dd64.tar
forums-6c1f403b8ed77c5c0c96563e07e88b779d92dd64.tar.gz
forums-6c1f403b8ed77c5c0c96563e07e88b779d92dd64.tar.bz2
forums-6c1f403b8ed77c5c0c96563e07e88b779d92dd64.tar.xz
forums-6c1f403b8ed77c5c0c96563e07e88b779d92dd64.zip
- make acl_getf_global() availible to module auth checks
git-svn-id: file:///svn/phpbb/trunk@5547 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_module.php')
-rw-r--r--phpBB/includes/functions_module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php
index 26fdd14c20..2f696967e6 100644
--- a/phpBB/includes/functions_module.php
+++ b/phpBB/includes/functions_module.php
@@ -261,7 +261,7 @@ class p_master
}
$is_auth = false;
- eval('$is_auth = (int) (' . preg_replace(array('#acl_([a-z_]+)(,\$id)?#', '#\$id#', '#cfg_([a-z_]+)#'), array('(int) $auth->acl_get("\\1"\\2)', '(int) $this->acl_forup_id', '(int) $config["\\1"]'), $module_auth) . ');');
+ eval('$is_auth = (int) (' . preg_replace(array('#acl_([a-z_]+)(,\$id)?#', '#\$id#', '#aclf_([a-z_]+)#', '#cfg_([a-z_]+)#'), array('(int) $auth->acl_get("\\1"\\2)', '(int) $this->acl_forup_id', '(int) $auth->acl_getf_global("\\1")', '(int) $config["\\1"]'), $module_auth) . ');');
return $is_auth;
}