Was missing this piece.. Now it will display the timer debug statement.

This commit is contained in:
skeeter 2002-08-17 19:28:09 +00:00
parent 111ba30246
commit 94b08474d0

View File

@ -1442,6 +1442,12 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
$GLOBALS['phpgw']->crypto->cleanup(); $GLOBALS['phpgw']->crypto->cleanup();
unset($GLOBALS['phpgw']->crypto); unset($GLOBALS['phpgw']->crypto);
} }
if (DEBUG_TIMER)
{
$GLOBALS['debug_timer_stop'] = perfgetmicrotime();
echo 'Page loaded in ' . ($GLOBALS['debug_timer_stop'] - $GLOBALS['debug_timer_start']) . ' seconds.';
}
} }
// echo 'an app is trying to run the phpgw_footer() more than once<br>'; // echo 'an app is trying to run the phpgw_footer() more than once<br>';
} }