summaryrefslogtreecommitdiff
path: root/includes/engelsystem.php
blob: f7d813c592b046c878516ad27b66de9a527c0f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?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();