From 100a97e3f1501dd634d1e398f564902dcaf2b3fb Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 25 Sep 2006 22:10:52 +0200 Subject: =?UTF-8?q?remove=20metadebug=20again,=20improve=20do=DEbug=20inst?= =?UTF-8?q?ead?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- inc/infoutils.php | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'inc/infoutils.php') 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 - */ -function debug_meta($id){ - global $conf; - if(!$conf['allowdebug']) return; - if(!$_REQUEST['metadebug']) return; - - dbg(p_get_metadata($id)); -} -- cgit v1.2.3