mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Introduce class Icinga\Application\StaticWeb
This commit is contained in:
parent
a9d6482533
commit
e44ea3b34c
21
library/Icinga/Application/StaticWeb.php
Normal file
21
library/Icinga/Application/StaticWeb.php
Normal file
@ -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…
x
Reference in New Issue
Block a user