aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 4a2c2be..e7ad33d 100644
--- a/index.php
+++ b/index.php
@@ -11,6 +11,9 @@ function require_all_glob(string $pattern) {
require_all_glob('routes/*.php');
require_all_glob('misc/*.php');
+require_once __DIR__ . '/policies.conf.php';
+
+
$lang = get_ui_language();
header('Content-Language: ' . str_replace('_', '-', $lang));
Digitigrade\Text::setDefaultLanguage($lang);