summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-02-14 13:44:40 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-02-14 13:44:40 +0100
commit4f1a1db1539e819e5c40ec14453c4c709810e1bd (patch)
treeb9f3870e8e7560129042df9869fce928012bf190 /lib/exe
parent16ad3fae861bc110881c09b083b2ce9aad6285aa (diff)
downloadrpg-4f1a1db1539e819e5c40ec14453c4c709810e1bd.tar.gz
rpg-4f1a1db1539e819e5c40ec14453c4c709810e1bd.tar.bz2
Revert "fix global $AUTH hiding $auth"
Yes, it's hiding $auth, but detail templates might depend on that. We need to fix this properly. This reverts commit 343aa1749f17e62fa68e26193011a5051025881a.
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/detail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php
index 9981c1d02..cd3f362ad 100644
--- a/lib/exe/detail.php
+++ b/lib/exe/detail.php
@@ -32,8 +32,8 @@ if($conf['allowdebug'] && $INPUT->has('debug')){
$ERROR = false;
// check image permissions
-$AUTHLEVEL = auth_quickaclcheck($IMG);
-if($AUTHLEVEL >= AUTH_READ){
+$AUTH = auth_quickaclcheck($IMG);
+if($AUTH >= AUTH_READ){
// check if image exists
$SRC = mediaFN($IMG);
if(!@file_exists($SRC)){