🎉 flake init
This commit is contained in:
parent
a20673f7b6
commit
7ba09e3869
21
meta.php
Normal file
21
meta.php
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
// VERSION //
|
||||||
|
static::$version = "1.0.0";
|
||||||
|
|
||||||
|
|
||||||
|
// DEPENDENCIES //
|
||||||
|
// used extensions
|
||||||
|
static::$ext[] = "excuse";
|
||||||
|
|
||||||
|
|
||||||
|
// ROUTES //
|
||||||
|
// redirect to main domain
|
||||||
|
static::$route["www.thi-hub.de"] = [
|
||||||
|
["path" => "**", "target" => "page/redirect"]
|
||||||
|
];
|
||||||
|
|
||||||
|
// pages
|
||||||
|
static::$route["thi-hub.de"] = [
|
||||||
|
["path" => "", "target" => "page/start"]
|
||||||
|
];
|
||||||
|
?>
|
8
page/redirect/index.php
Normal file
8
page/redirect/index.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
// REDIRECT TO MAIN DOMAIN //
|
||||||
|
// status code
|
||||||
|
header("HTTP/1.1 301 Moved Permanently");
|
||||||
|
|
||||||
|
// location
|
||||||
|
header("Location: https://thi-hub.de");
|
||||||
|
?>
|
7
page/start/index.php
Normal file
7
page/start/index.php
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
declare(strict_types = 1);
|
||||||
|
namespace Kimendisch\Thi_Hub;
|
||||||
|
use Flake\Excuse;
|
||||||
|
|
||||||
|
Excuse::show("service_unavailable");
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user