mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 22:25:31 +02:00
Added THEME_STYLE constant for easy checking of the currently selected theme style. CSSORDER also added, but subject to change.
This commit is contained in:
@@ -1092,6 +1092,15 @@ if(!defined("THEME_LAYOUT"))
|
||||
}
|
||||
*/
|
||||
|
||||
if(varset($pref['themecss']) && file_exists(THEME.$pref['themecss']))
|
||||
{
|
||||
define("THEME_STYLE", $pref['themecss']);
|
||||
}
|
||||
else
|
||||
{
|
||||
define("THEME_STYLE", 'style.css');
|
||||
}
|
||||
|
||||
if($def) // custom-page layout.
|
||||
{
|
||||
define("THEME_LAYOUT",$def);
|
||||
|
Reference in New Issue
Block a user