engelsystem/includes/engelsystem.php

28 lines
372 B
PHP
Raw Normal View History

2017-11-01 12:35:45 +01:00
<?php
/**
* Bootstrap application
2017-11-01 12:35:45 +01:00
*/
require __DIR__ . '/application.php';
2017-11-01 12:35:45 +01:00
/**
* Include legacy code
*/
require __DIR__ . '/includes.php';
2017-11-01 12:35:45 +01:00
/**
* Check for maintenance
*/
if ($app->get('config')->get('maintenance')) {
echo file_get_contents(__DIR__ . '/../resources/views/layouts/maintenance.html');
2017-11-01 12:35:45 +01:00
die();
}
/**
* Init authorization
2017-11-01 12:35:45 +01:00
*/
load_auth();