adlerka.top/lib/config.php
2024-01-31 22:05:23 +01:00

30 lines
753 B
PHP

<?php
function loadRouterConfig(): void
{
global $routerConfig;
$routerConfig["default_page"] = "domov";
$routerConfig["default_site"] = "home";
$routerConfig["template_dir"] = "templates/";
$routerConfig["endpoint_dir"] = "endpoints/";
$routerConfig["page_dir"] = "pages/";
$routerConfig["protocol"] = "https://";
$routerConfig["logged_out_permission_level"] = 0;
$routerConfig["logged_in_default_permission_level"] = 1;
$routerConfig["verified_permission_level"] = 2;
$routerConfig["trustworthy_permission_level"] = 3;
$routerConfig["moderator_permission_level"] = 4;
$routerConfig["adminpermissionlevel"] = 255;
}