summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index ba4dac1fd..7913354f7 100644
--- a/doku.php
+++ b/doku.php
@@ -45,7 +45,7 @@
if(empty($ACT)) $ACT = 'show';
- if($ACT == 'debug'){
+ if($conf['allowdebug'] && $ACT == 'debug'){
html_debug();
exit;
}