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:
parent
09e3e32ca9
commit
b2e915352d
@ -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'))
|
||||
{
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user