aboutsummaryrefslogtreecommitdiff
path: root/app/class/config.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-12 13:55:40 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-12 13:55:40 +0100
commite4768cd0647d934eff424f73bfd9f5c8f6223c94 (patch)
treeb36029a8152d79108e0dd57aacd73f80b7232b33 /app/class/config.php
parent0f44c6d918a2932b68019c02de5bc55e7057600a (diff)
downloadwcms-e4768cd0647d934eff424f73bfd9f5c8f6223c94.tar.gz
wcms-e4768cd0647d934eff424f73bfd9f5c8f6223c94.zip
link+log
Diffstat (limited to 'app/class/config.php')
-rw-r--r--app/class/config.php15
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);
+ }
+ }
+