Introduce class Icinga\Application\StaticWeb

This commit is contained in:
Johannes Meyer 2020-11-12 09:31:22 +01:00
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();
}
}