extendStyles: todo has been done

This commit is contained in:
Thomas Gelf 2020-10-10 03:41:45 +02:00
parent fee7393494
commit d63b07dd20
1 changed files with 1 additions and 4 deletions

View File

@ -11,11 +11,8 @@ class Styles extends StyleSheet
{
$pubPath = Icinga::app()->getBaseDir('public');
$slashes = \substr_count($pubPath, '/');
// TODO: combine at build time / with composer
$prefix = \str_repeat('/..', $slashes) . __DIR__;
$files = [
"$prefix/public/css/combined.less",
];
$files = ["$prefix/public/css/combined.less"];
foreach ($files as $file) {
self::$lessFiles[] = $file;