make remixicon local

This commit is contained in:
2024-02-04 10:16:51 +01:00
parent 7828553752
commit d53d0b1f54
11 changed files with 16522 additions and 8 deletions

View File

@@ -14,6 +14,8 @@ loadRouterConfig();
$canRender = initRouter();
if ($canRender) {
/** @noinspection PhpArrayIsAlwaysEmptyInspection */
/** @noinspection PhpArrayIsAlwaysEmptyInspection */
session_set_cookie_params(0, '/', "." . $routerRequest["domain"] . "." . $routerRequest["tld"], true, true);
session_start();
@@ -21,10 +23,13 @@ if ($canRender) {
setDefaultSessionData();
}
/** @noinspection PhpArrayIsAlwaysEmptyInspection */
if ($routerRequest["type"] == "api") {
/** @noinspection PhpArrayIsAlwaysEmptyInspection */
echo getEndpoint($routerRequest["page_name"]);
} elseif ($routerRequest["type"] == "page") {
} /** @noinspection PhpArrayIsAlwaysEmptyInspection */ elseif ($routerRequest["type"] == "page") {
/** @noinspection PhpArrayIsAlwaysEmptyInspection */
echo getPage($routerRequest["page_name"]);
}
}