33 lines
678 B
PHP
33 lines
678 B
PHP
<?php
|
|
// VERSION //
|
|
static::$version = "1.0.1";
|
|
|
|
|
|
// DEPENDENCIES //
|
|
// used extensions
|
|
static::$ext[] = "project";
|
|
static::$ext[] = "lang";
|
|
static::$ext[] = "request";
|
|
static::$ext[] = "url";
|
|
static::$ext[] = "page";
|
|
static::$ext[] = "file";
|
|
|
|
|
|
// ROUTES //
|
|
// redirect to main domain
|
|
static::$route["www.thi-hub.de"] = [
|
|
["path" => "**", "target" => "page/redirect"]
|
|
];
|
|
|
|
// pages
|
|
static::$route["thi-hub.de"] = [
|
|
// start
|
|
["path" => "", "target" => "page/start"],
|
|
["path" => ":lang", "target" => "page/start"],
|
|
|
|
// embed
|
|
["path" => "embed", "target" => "page/embed"],
|
|
["path" => ":lang/embed", "target" => "page/embed"],
|
|
];
|
|
?>
|