summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-09-25 22:10:52 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-09-25 22:10:52 +0200
commit100a97e3f1501dd634d1e398f564902dcaf2b3fb (patch)
tree54973cba8a0500cb6366a32eb1a1bfc69dfb0ec5 /doku.php
parentc1b9dbaf11fd4b48e8c70aa0613cc81c82cc81cc (diff)
downloadrpg-100a97e3f1501dd634d1e398f564902dcaf2b3fb.tar.gz
rpg-100a97e3f1501dd634d1e398f564902dcaf2b3fb.tar.bz2
remove metadebug again, improve doÞbug instead
This adds the complete $INFO array (contains the metadata) to the usual debug output and removes the metadebug parameter again. darcs-hash:20060925201052-7ad00-c9a15b921466803b3f2bd50b0d72211cf68658c5.gz
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/doku.php b/doku.php
index 74ba1db6f..34e95ccbe 100644
--- a/doku.php
+++ b/doku.php
@@ -46,15 +46,15 @@
//set default #FIXME not needed here? done in actions?
if(empty($ACT)) $ACT = 'show';
+ //make infos about the selected page available
+ $INFO = pageinfo();
+ // handle debugging
if($conf['allowdebug'] && $ACT == 'debug'){
html_debug();
exit;
}
- //make infos about the selected page available
- $INFO = pageinfo();
-
//send 404 for missing pages if configured
if($conf['send404'] && !$INFO['exists']){
header('HTTP/1.0 404 Not Found');
@@ -76,8 +76,5 @@
trigger_event('DOKUWIKI_DONE', $tmp=array());
- //handle metadebug request
- debug_meta($ID);
-
// xdebug_dump_function_profile(1);
?>