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;
2024-02-03 16:18:48 +01:00
$routerConfig["default_page"] = "index";
2024-01-16 20:55:27 +01:00
$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"] = 1;
$routerConfig["logged_in_default_permission_level"] = 2;
$routerConfig["verified_permission_level"] = 3;
$routerConfig["trustworthy_permission_level"] = 4;
$routerConfig["moderator_permission_level"] = 5;
$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
}