diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-09-25 22:10:52 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-09-25 22:10:52 +0200 |
commit | 100a97e3f1501dd634d1e398f564902dcaf2b3fb (patch) | |
tree | 54973cba8a0500cb6366a32eb1a1bfc69dfb0ec5 /inc/infoutils.php | |
parent | c1b9dbaf11fd4b48e8c70aa0613cc81c82cc81cc (diff) | |
download | rpg-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 'inc/infoutils.php')
-rw-r--r-- | inc/infoutils.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php index ab8bc8deb..3c7ba96a5 100644 --- a/inc/infoutils.php +++ b/inc/infoutils.php @@ -247,22 +247,3 @@ function dbglog($msg){ } } -/** - * Prints the metadata of a given page - * - * Only prints when debugging is allowed and the metadebug request - * parameter is set - * - * The data is dumped after tpl_action and thus after the template's - * closing html tag. This makes the HTML invalid, but this is for - * debugging only anyway. - * - * @author Andreas Gohr <andi@splitbrain.org> - */ -function debug_meta($id){ - global $conf; - if(!$conf['allowdebug']) return; - if(!$_REQUEST['metadebug']) return; - - dbg(p_get_metadata($id)); -} |