1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

Restored loading of admin LAN definitions early.

Removed unnecessary constants from admin_theme.php
This commit is contained in:
Cameron 2020-01-19 12:06:06 -08:00
parent 09e3e32ca9
commit b2e915352d
2 changed files with 7 additions and 2 deletions

View File

@ -1418,6 +1418,12 @@ define('TIMEOFFSET', $e_deltaTime);
// ----------------------------------------------------------------------------
$sql->db_Mark_Time('Find/Load Theme');
if(e_ADMIN_AREA) // Load admin phrases ASAP
{
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_admin.php');
}
if(!defined('THEME'))
{

View File

@ -18,8 +18,7 @@ if(!defined('e107_INIT'))
//define("SEP", " <span class='fa fa-play e-breadcrumb'></span> ");
define("SEP", " <span class='fa fa-angle-double-right e-breadcrumb'></span> ");
define("BOOTSTRAP", 3);
define('FONTAWESOME', 4);
$adminStyle = e107::pref('core', 'admincss', 'css/bootstrap-dark.min.css');
e107::css('theme', $adminStyle);