diff options
Diffstat (limited to 'app/class/config.php')
-rw-r--r-- | app/class/config.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/app/class/config.php b/app/class/config.php index bfc0c9e..3b05c1a 100644 --- a/app/class/config.php +++ b/app/class/config.php @@ -13,7 +13,8 @@ abstract class Config protected static $color4; protected static $fontsize = 15; protected static $basepath = ''; - protected static $route404 = ''; + protected static $route404; + protected static $existnot = 'This page does not exist yet'; @@ -121,6 +122,11 @@ abstract class Config return self::$route404; } + public static function existnot() + { + return self::$existnot; + } + // __________________________________________ S E T ______________________________________ @@ -184,6 +190,13 @@ abstract class Config } } + public static function setexistnot($description) + { + if(is_string($description)) { + self::$existnot = strip_tags($description); + } + } + |