diff options
author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-23 12:38:13 -0500 |
---|---|---|
committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-23 12:38:13 -0500 |
commit | ebda82d787b3620424c1dcf4336146ea06815a55 (patch) | |
tree | c05021cb36da9eff4c589e67824f237500b01149 /footer.php | |
parent | 6c42f30a0424cbf1c1af63f21d7f5074a4653c7a (diff) | |
download | bayonetcms-ebda82d787b3620424c1dcf4336146ea06815a55.tar.gz |
New debugging methods implements.
config.php has two new options, "show_messages", and "repeat messages".
If a "show_messages" is enabled any decho statements are rendered
above the site footer.
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@395 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'footer.php')
-rw-r--r-- | footer.php | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -24,6 +24,16 @@ $debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) p $totaltime, ((float)memory_get_usage()/1024/1024), ((float)memory_get_peak_usage()/1024/1024), $phpversion, $db_queries, $db_fetches); ?> +<? if($config['debug']['enabled']): ?> + +<div class="content"> + + <div style="background:white;"> + <?php logQueueFlush(); ?> + </div> +</div> +<? endif ?> + <div class="footer"> <br /> |