icingaweb2/library/Icinga/Util/LessParser.php
Sukhwinder Dhillon f1e8280c3e Revert "Don't support dark/light mode for IE"
This reverts commit baeca33789aa1b9a38a5377d678a7c22f35866b3.
2022-06-13 15:50:52 +02:00

18 lines
293 B
PHP

<?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()]);
}
}