You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
405 B
PHTML

<?php
/**
* Bootstrap application
*/
require __DIR__ . '/application.php';
/**
* Include legacy code
*/
require __DIR__ . '/includes.php';
/**
* Check for maintenance
*/
if ($app->get('config')->get('maintenance')) {
echo file_get_contents(__DIR__ . '/../templates/maintenance.html');
die();
}
/**
* Init translations
*/
gettext_init();
/**
* Init authorization
*/
load_auth();