getBootstrapDirecory(); foreach (self::$lessFiles as $file) { $less->addFile($basedir . '/' . $file); } $less->addLoadedModules(); $less->addFile($basedir . '/css/pdf/pdfprint.less'); return $less->compile(); } public static function send() { header('Content-Type: text/css'); $less = new LessCompiler(); $basedir = Icinga::app()->getBootstrapDirecory(); foreach (self::$lessFiles as $file) { $less->addFile($basedir . '/' . $file); } echo $less->addLoadedModules()->compile(); } }