sbgg.jetzt/meta.php

41 lines
1.1 KiB
PHP
Raw Normal View History

2023-04-22 17:31:48 +02:00
<?php
// VERSION //
2024-01-30 12:45:35 +01:00
static::$version = "1.0.43";
2023-04-22 17:31:48 +02:00
// DEPENDENCIES //
// used extensions
2024-02-04 20:40:40 +01:00
static::$ext[] = "dat";
static::$ext[] = "request";
2023-09-11 16:27:51 +02:00
static::$ext[] = "lang";
static::$ext[] = "page";
static::$ext[] = "file";
static::$ext[] = "hidden";
static::$ext[] = "project";
static::$ext[] = "excuse";
static::$ext[] = "error";
static::$ext[] = "url";
2023-04-22 17:31:48 +02:00
// ROUTES //
2023-09-11 21:10:57 +02:00
// redirect to main domain
$redirect = [
["path" => "**", "target" => "page/redirect"]
2023-04-22 17:31:48 +02:00
];
2023-09-11 21:10:57 +02:00
static::$route["www.sbgg.jetzt"] = $redirect;
static::$route["selbstbestimmungsgesetz-jetzt.de"] = $redirect;
static::$route["www.selbstbestimmungsgesetz-jetzt.de"] = $redirect;
2023-04-22 17:31:48 +02:00
2023-09-11 21:10:57 +02:00
// pages
static::$route["sbgg.jetzt"] = [
["path" => "", "target" => "page/start"],
["path" => ":lang", "target" => "page/start"],
["path" => "newsletter/unsubscribe", "target" => "page/newsletter/unsubscribe"],
2024-02-04 20:40:40 +01:00
["path" => "static/:filename", "target" => "api/static"],
["path" => "api/newsletter/subscribe", "target" => "api/newsletter/subscribe.php"],
["path" => "api/newsletter/unsubscribe", "target" => "api/newsletter/unsubscribe.php"],
2023-04-22 17:31:48 +02:00
];
?>