From f42d1c75316f76b00c3e1b4ae7f890048ae1b117 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 27 Oct 2005 20:34:10 +0200 Subject: option for disabling debug output darcs-hash:20051027183410-7ad00-5ca48cf2d4058016f5cf07887d9eaa7b07a4043f.gz --- lib/exe/detail.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/exe/detail.php') 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 '
';
 			foreach(explode(' ','basedir userewrite baseurl useslash') as $x){
 					print '$'."conf['$x'] = '".$conf[$x]."';\n";
-- 
cgit v1.2.3