2023-11-12 17:35:17 +01:00
|
|
|
<?php
|
|
|
|
// VERSION //
|
2024-07-31 15:06:22 +02:00
|
|
|
static::$version = "1.0.3";
|
2023-11-12 17:35:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
// DEPENDENCIES //
|
|
|
|
// used extensions
|
2024-02-25 18:06:26 +01:00
|
|
|
static::$ext[] = "project";
|
|
|
|
static::$ext[] = "lang";
|
|
|
|
static::$ext[] = "request";
|
|
|
|
static::$ext[] = "url";
|
2024-02-25 19:13:50 +01:00
|
|
|
static::$ext[] = "page";
|
|
|
|
static::$ext[] = "file";
|
2023-11-12 17:35:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
// ROUTES //
|
|
|
|
// redirect to main domain
|
|
|
|
static::$route["www.thi-hub.de"] = [
|
|
|
|
["path" => "**", "target" => "page/redirect"]
|
|
|
|
];
|
|
|
|
|
|
|
|
// pages
|
|
|
|
static::$route["thi-hub.de"] = [
|
2024-06-07 11:28:06 +02:00
|
|
|
// start
|
|
|
|
["path" => "", "target" => "page/start"],
|
|
|
|
["path" => ":lang", "target" => "page/start"],
|
|
|
|
|
|
|
|
// embed
|
|
|
|
["path" => "embed", "target" => "page/embed"],
|
|
|
|
["path" => ":lang/embed", "target" => "page/embed"],
|
2023-11-12 17:35:17 +01:00
|
|
|
];
|
|
|
|
?>
|