summaryrefslogtreecommitdiff
path: root/lib/exe/detail.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-10-27 20:34:10 +0200
committerAndreas Gohr <andi@splitbrain.org>2005-10-27 20:34:10 +0200
commitf42d1c75316f76b00c3e1b4ae7f890048ae1b117 (patch)
treedd8948778a2e8d01688377c4a32f00bd7436b4c2 /lib/exe/detail.php
parenta89b76cccd3c05c8ceb7ecc5e2cec8f606935c77 (diff)
downloadrpg-f42d1c75316f76b00c3e1b4ae7f890048ae1b117.tar.gz
rpg-f42d1c75316f76b00c3e1b4ae7f890048ae1b117.tar.bz2
option for disabling debug output
darcs-hash:20051027183410-7ad00-5ca48cf2d4058016f5cf07887d9eaa7b07a4043f.gz
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";