diff options
author | Andreas Gohr <andi@splitbrain.org> | 2005-10-27 20:34:10 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2005-10-27 20:34:10 +0200 |
commit | f42d1c75316f76b00c3e1b4ae7f890048ae1b117 (patch) | |
tree | dd8948778a2e8d01688377c4a32f00bd7436b4c2 /inc/common.php | |
parent | a89b76cccd3c05c8ceb7ecc5e2cec8f606935c77 (diff) | |
download | rpg-f42d1c75316f76b00c3e1b4ae7f890048ae1b117.tar.gz rpg-f42d1c75316f76b00c3e1b4ae7f890048ae1b117.tar.bz2 |
option for disabling debug output
darcs-hash:20051027183410-7ad00-5ca48cf2d4058016f5cf07887d9eaa7b07a4043f.gz
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index e5ab385ca..531e11477 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1120,6 +1120,12 @@ function check(){ }else{ msg('mb_string extension not available - PHP only replacements will be used',0); } + + if($conf['allowdebug']){ + msg('Debugging support is enabled. If you don\'t need it you should set $conf[\'allowdebug\'] = 0',-1); + }else{ + msg('Debugging support is disabled',1); + } msg('Your current permission for this page is '.$INFO['perm'],0); |