1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

kAdmin styling updates. THEME_STYLE value is now correct for admin area.

This commit is contained in:
Cameron
2017-10-31 13:43:42 -07:00
parent 51338d464a
commit b1ad67b0d8
4 changed files with 28 additions and 9 deletions

View File

@@ -1368,7 +1368,11 @@ if(!defined("THEME_LAYOUT"))
}
*/
if(varset($pref['themecss']) && file_exists(THEME.$pref['themecss']))
if(deftrue('e_ADMIN_AREA'))
{
define("THEME_STYLE", $pref['admincss']);
}
elseif(varset($pref['themecss']) && file_exists(THEME.$pref['themecss']))
{
define("THEME_STYLE", $pref['themecss']);
}