aboutsummaryrefslogtreecommitdiff
path: root/app/class/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/config.php')
-rw-r--r--app/class/config.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/class/config.php b/app/class/config.php
index 83982de..39c741a 100644
--- a/app/class/config.php
+++ b/app/class/config.php
@@ -13,6 +13,8 @@ abstract class Config
protected static $color4;
protected static $fontsize = 15;
protected static $basepath = '';
+ protected static $route404 = '';
+
// _______________________________________ F U N _______________________________________
@@ -114,6 +116,11 @@ abstract class Config
return self::$basepath;
}
+ public static function route404()
+ {
+ return self::$route404;
+ }
+
// __________________________________________ S E T ______________________________________
@@ -170,6 +177,11 @@ abstract class Config
self::$basepath = strip_tags($basepath);
}
+ public static function setroute404(string $id)
+ {
+ self::$route404 = idclean($id);
+ }
+