summaryrefslogtreecommitdiffstats
path: root/library/Icinga/Application/StaticWeb.php
blob: 5c64dcba78b4045d6fe303c306c2597b1f0689eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/* Icinga Web 2 | (c) 2020 Icinga GmbH | GPLv2+ */

namespace Icinga\Application;

require_once dirname(__FILE__) . '/EmbeddedWeb.php';

class StaticWeb extends EmbeddedWeb
{
    protected function bootstrap()
    {
        return $this
            ->setupErrorHandling()
            ->loadLibraries()
            ->loadConfig()
            ->setupLogging()
            ->setupLogger()
            ->setupRequest()
            ->setupResponse();
    }
}