$config['debug']: Show time initializing Tinyboard (before $debug was created)

This commit is contained in:
Michael Foster
2013-08-29 08:30:21 +10:00
parent 3fbd051737
commit 8257773807
2 changed files with 3 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ function loadConfig() {
if (!isset($debug)) {
$debug = array('sql' => array(), 'exec' => array(), 'purge' => array(), 'cached' => array(), 'write' => array());
$debug['start'] = $microtime_start;
$debug['start_debug'] = microtime(true);;
}
}