[BS5] fix minor issues

This commit is contained in:
FreddleSpl0it
2022-06-14 15:52:59 +02:00
parent 4ce05d4d4d
commit 7384aab2f4
4 changed files with 34 additions and 25 deletions

View File

@@ -254,7 +254,7 @@ $css_dir = array_diff(scandir('/web/css/build'), array('..', '.'));
$UI_TEXTS = customize('get', 'ui_texts');
$UI_THEME = "lumen"; // TODO: customize('get', 'ui_theme');
// minify bootstrap theme
if (file_exists('/web/css/themes'.$UI_THEME.'-bootstrap.css'))
if (file_exists('/web/css/themes/'.$UI_THEME.'-bootstrap.css'))
$css_minifier->add('/web/css/themes/'.$UI_THEME.'-bootstrap.css');
else
$css_minifier->add('/web/css/themes/lumen-bootstrap.css');