summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-06-29 15:20:20 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-06-29 15:20:20 +0200
commit11f03531585cccac387161ba88f54a28bad5624b (patch)
tree42286db182adfe967baf0664a2913653c895fd70 /inc/auth.php
parentd0f8d50b16073494dc8ccc16905d445467e648cd (diff)
downloadrpg-11f03531585cccac387161ba88f54a28bad5624b.tar.gz
rpg-11f03531585cccac387161ba88f54a28bad5624b.tar.bz2
removed another occurance of the obsolete config option
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 1263f7aec..fbdb2b439 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -123,7 +123,6 @@ function auth_setup() {
*/
function auth_loadACL() {
global $config_cascade;
- global $conf;
global $USERINFO;
if(!is_readable($config_cascade['acl']['default'])) return array();
@@ -131,7 +130,7 @@ function auth_loadACL() {
$acl = file($config_cascade['acl']['default']);
//support user wildcard
- if(isset($_SERVER['REMOTE_USER']) && $conf['use_wildcards']){
+ if(isset($_SERVER['REMOTE_USER'])){
$len = count($acl);
for($i = 0; $i < $len; $i++) {
if($acl[$i]{0} == '#') continue;