2013-06-14 13:51:44 +02:00
|
|
|
<?php
|
|
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
|
2013-09-04 14:56:55 +02:00
|
|
|
/*
|
|
|
|
* Set timezone before bootstrapping the application and therefore before calling `setupTimezone()` because in case an
|
|
|
|
* error occurred whilst, the logger calls date/time functions which would generate a warning if the php.ini lacks a
|
|
|
|
* valid timezone.
|
|
|
|
*/
|
2013-09-02 16:29:06 +02:00
|
|
|
date_default_timezone_set('UTC');
|
2013-09-04 14:56:55 +02:00
|
|
|
|
2013-06-14 13:51:44 +02:00
|
|
|
require_once dirname(__FILE__). '/../library/Icinga/Application/ApplicationBootstrap.php';
|
|
|
|
require_once dirname(__FILE__). '/../library/Icinga/Application/Web.php';
|
|
|
|
|
|
|
|
use Icinga\Application\Web;
|
|
|
|
|
2013-10-22 11:39:06 +02:00
|
|
|
Web::start('@icingaweb_config_path@')->dispatch();
|