stylehub/lib/config.php

36 lines
930 B
PHP
Raw Normal View History

2024-01-16 20:55:27 +01:00
<?php
function loadRouterConfig(): void
{
2024-01-16 20:55:27 +01:00
global $routerConfig;
$routerConfig["default_page"] = "domov";
$routerConfig["default_site"] = "home";
$routerConfig["template_dir"] = "templates/";
2024-01-18 11:49:38 +01:00
$routerConfig["endpoint_dir"] = "endpoints/";
2024-01-16 20:55:27 +01:00
$routerConfig["page_dir"] = "pages/";
2024-01-16 21:31:19 +01:00
$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["user_admin_permission_level"] = 254;
$routerConfig["admin_permission_level"] = 255;
$routerConfig["default_page_permission_level"] = 255;
$routerConfig["default_page_secret"] = 1;
2024-01-16 20:55:27 +01:00
}