From 261ab1364aa40384b0315be60e78cd89ea7fe661 Mon Sep 17 00:00:00 2001 From: winter Date: Sun, 23 Feb 2025 18:32:09 +0000 Subject: implement policies --- index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.php') 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); -- cgit v1.3