summaryrefslogtreecommitdiff
path: root/lib/exe/detail.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/exe/detail.php')
-rw-r--r--lib/exe/detail.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php
index 5d7de0119..a090039cb 100644
--- a/lib/exe/detail.php
+++ b/lib/exe/detail.php
@@ -14,8 +14,7 @@
$IMG = getID('media');
$ID = cleanID($_REQUEST['id']);
- //FIXME remove me later
- if($_REQUEST['debug']){
+ if($conf['allowdebug'] && $_REQUEST['debug']){
print '<pre>';
foreach(explode(' ','basedir userewrite baseurl useslash') as $x){
print '$'."conf['$x'] = '".$conf[$x]."';\n";