Introduce class `Icinga\Application\StaticWeb`
This commit is contained in:
parent
a9d6482533
commit
e44ea3b34c
|
@ -0,0 +1,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();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue