1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Debug timings.

This commit is contained in:
Cameron
2017-01-21 10:49:04 -08:00
parent 15c586b5dc
commit d7fad829fe
6 changed files with 47 additions and 11 deletions

View File

@@ -69,10 +69,10 @@ require_once(e_ADMIN.'boot.php');
require_once(e_ADMIN.'auth.php');
require_once(e_HANDLER.'upload_handler.php');
e107::getDb()->db_Mark_Time('(Start Admin Checks)');
new admin_start;
e107::getDb()->db_Mark_Time('(After Admin Checks)');
$mes = e107::getMessage();
if (!isset($pref['adminstyle'])) $pref['adminstyle'] = 'infopanel'; // Shouldn't be needed - but just in case
@@ -153,8 +153,10 @@ class admin_start
e107::getDb()->db_Mark_Time('Check Paths');
$this->checkPaths();
e107::getDb()->db_Mark_Time('Check Timezone');
$this->checkTimezone();
e107::getDb()->db_Mark_Time('Check Writable');
$this->checkWritable();