compileFile($cssdir . '/base.less'); echo $less->compileFile($cssdir . '/icinga.less'); foreach ($app->moduleManager()->getLoadedModules() as $name => $module) { if ($module->hasCss()) { echo $less->compile( '.icinga-module.module-' . $name . " {\n" . file_get_contents($module->getCssFilename()) . "}\n\n" ); } }