summaryrefslogtreecommitdiffstats
path: root/run.php
blob: 319f6e3baacd878687e743c0f71fc9aa728e3af9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

use Icinga\Module\Incubator\Styles;

// We extend Less files shipped per default
if (isset($_SERVER['REQUEST_URI'])
    && preg_match('#/css/icinga(?:\.min)?\.css#', $_SERVER['REQUEST_URI'])
    && ! class_exists(__NAMESPACE__ . '\\Styles')) {
    require __DIR__ . '/extendStyles.php';
    $styles = new Styles();
    return;
}

require_once __DIR__ . '/vendor/autoload.php';