Don't use absolute alias in the StaticController
This commit is contained in:
parent
274c0eacef
commit
3dd58a6ca7
|
@ -7,6 +7,7 @@ use Icinga\Web\Controller;
|
|||
use Icinga\Application\Icinga;
|
||||
use Icinga\Application\Logger;
|
||||
use Icinga\Web\FileCache;
|
||||
use Icinga\Web\LessCompiler;
|
||||
|
||||
/**
|
||||
* Delivery static content to clients
|
||||
|
@ -157,7 +158,7 @@ class StaticController extends Controller
|
|||
*/
|
||||
public function stylesheetAction()
|
||||
{
|
||||
$lessCompiler = new \Icinga\Web\LessCompiler();
|
||||
$lessCompiler = new LessCompiler();
|
||||
$moduleManager = Icinga::app()->getModuleManager();
|
||||
|
||||
$publicDir = realpath(dirname($_SERVER['SCRIPT_FILENAME']));
|
||||
|
|
Loading…
Reference in New Issue