aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorwinter2025-02-23 18:32:09 +0000
committerwinter2025-02-23 18:32:09 +0000
commit261ab1364aa40384b0315be60e78cd89ea7fe661 (patch)
treebf114af430c761abfaf33e814e3cf9ba0ed096d2 /index.php
parent1ba56a5b687e6c906c2b24e5b37df119ef5752e3 (diff)
implement policies
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);