summaryrefslogtreecommitdiffstats
path: root/library/Icinga/Util/LessParser.php
blob: 46aa061f57eeac75f7babd41fbe1710497e4545b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/* Icinga Web 2 | (c) 2021 Icinga GmbH | GPLv2+ */

namespace Icinga\Util;

use Icinga\Less\Visitor;
use lessc;

require_once 'lessphp/lessc.inc.php';

class LessParser extends lessc
{
    public function __construct()
    {
        $this->setOption('plugins', [new Visitor()]);
    }
}