1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Core Cleanup.

This commit is contained in:
Cameron
2020-05-02 15:35:30 -07:00
parent 43d8221340
commit 834ea354e4
17 changed files with 119 additions and 154 deletions

View File

@@ -26,7 +26,7 @@ if(!defined('USER_AREA'))
define("USER_AREA", FALSE);
}
e107::getDb()->db_Mark_Time('(Header Top)');
e107::getDebug()->logTime('(Header Top)');
if(!deftrue('e_MENUMANAGER_ACTIVE'))
@@ -559,7 +559,7 @@ function getAlert()
// Header included notification, from this point header includes are not possible
define('HEADER_INIT', TRUE);
e107::getDb()->db_Mark_Time("End Head, Start Body");
e107::getDebug()->logTime("End Head, Start Body");
//
// K: (The rest is ignored for popups, which have no menus)
@@ -597,7 +597,7 @@ if ($e107_popup != 1)
// (legacy?) function admin_purge_related moved to boot.php
e107::getDb()->db_Mark_Time('Parse Admin Header');
e107::getDebug()->logTime('Parse Admin Header');
//NEW - Iframe mod
if (!deftrue('e_IFRAME'))
@@ -610,7 +610,7 @@ if ($e107_popup != 1)
e107::css("inline","body { padding:0px } "); // default padding for iFrame-only.
}
e107::getDb()->db_Mark_Time('(End: Parse Admin Header)');
e107::getDebug()->logTime('(End: Parse Admin Header)');
}
// XXX - we don't need this (use e107::getMessage()) - find out what's using it and remove it