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:
@@ -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']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user