1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-24 07:03:06 +02:00

Frontend scripts tests. (may break some things)

This commit is contained in:
Cameron
2021-01-19 18:52:56 -08:00
parent ce1273f8a4
commit b19f9ffbc3
41 changed files with 312 additions and 395 deletions

View File

@@ -16,7 +16,10 @@ if(!defined('USER_AREA'))
//overload is now possible, prevent warnings
define('USER_AREA',TRUE);
}
define('ADMIN_AREA', FALSE);
if(!defined('ADMIN_AREA'))
{
define('ADMIN_AREA', false);
}
$e107 = e107::getInstance();
$sql = e107::getDb();
@@ -730,7 +733,10 @@ if(deftrue('BOOTSTRAP'))
// Header included notification, from this point header includes are not possible
define('HEADER_INIT', TRUE);
if(!defined('HEADER_INIT'))
{
define('HEADER_INIT', TRUE);
}
e107::getDebug()->logTime("Main Page Body");