mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 07:44:49 +02:00
Fixes #321 - custom folder names working again. JS/CSS comments shown during Debug mode only.
This commit is contained in:
@@ -170,7 +170,7 @@ $e_pref = e107::getConfig('core');
|
||||
|
||||
// Register Core CSS first, TODO - convert $no_core_css to constant, awaiting for path changes
|
||||
// NOTE: PREVIEWTHEME check commented - It shouldn't break anything as it's overridden by theme CSS now
|
||||
if (/*!defined("PREVIEWTHEME") && */!isset($no_core_css) || !$no_core_css)
|
||||
if (/*!defined("PREVIEWTHEME") && */! (isset($no_core_css) && $no_core_css !==true) && defset('CORE_CSS') !== false)
|
||||
{
|
||||
//echo "<link rel='stylesheet' href='".e_FILE_ABS."e107.css' type='text/css' />\n";
|
||||
$e_js->otherCSS('{e_WEB_CSS}e107.css');
|
||||
|
Reference in New Issue
Block a user