Move editor.css to theme/icecoder.css and make default

This commit is contained in:
mattpass
2020-07-05 09:25:16 +01:00
parent 5fc797176d
commit d7bb490a50
7 changed files with 43 additions and 88 deletions

View File

@@ -105,9 +105,8 @@ if (!$demoMode && true === isset($_SESSION['loggedIn']) && $_SESSION['loggedIn']
}
// Work out the theme to use now
$themeURL = "default" === $ICEcoder["theme"]
? 'assets/css/editor.css'
: 'assets/css/theme/' . $ICEcoder["theme"] . '.css';
$themeURL = 'assets/css/theme/';
$themeURL .= "default" === $ICEcoder["theme"] ? 'icecoder.css' : $ICEcoder["theme"] . '.css';
$themeURL .= "?microtime=" . microtime(true);
// Do we need a file manager refresh?