From e4768cd0647d934eff424f73bfd9f5c8f6223c94 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 12 Nov 2018 13:55:40 +0100 Subject: link+log --- app/class/config.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'app/class/config.php') 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); + } + } + -- cgit v1.2.3