aboutsummaryrefslogtreecommitdiff
path: root/app/class/config.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-08-08 23:02:03 +0200
committervincent-peugnet <v.peugnet@free.fr>2019-08-08 23:02:03 +0200
commitef18c5f848a5e4d1239bdc1d89e0cc9f75a10512 (patch)
tree23b154c9d71e15c75a201822318eaa66dcefc99e /app/class/config.php
parente75e54d23d262940acd4c7df2a8cc7b7ab1751d5 (diff)
downloadwcms-ef18c5f848a5e4d1239bdc1d89e0cc9f75a10512.tar.gz
wcms-ef18c5f848a5e4d1239bdc1d89e0cc9f75a10512.zip
feature : terminal style option
+ bug fix : externallinkblank missing underscore
Diffstat (limited to 'app/class/config.php')
-rw-r--r--app/class/config.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/class/config.php b/app/class/config.php
index dbc6d80..dfeb4d7 100644
--- a/app/class/config.php
+++ b/app/class/config.php
@@ -23,6 +23,7 @@ abstract class Config
protected static $defaultprivacy = 0;
protected static $homepage = 'default';
protected static $homeredirect = null;
+ protected static $interfacecss = null;
// _______________________________________ F U N _______________________________________
@@ -199,6 +200,10 @@ abstract class Config
return self::$homeredirect;
}
+ public static function interfacecss()
+ {
+ return self::$interfacecss;
+ }
// __________________________________________ S E T ______________________________________
@@ -332,6 +337,15 @@ abstract class Config
self::$homeredirect = null;
}
}
+
+ public static function setinterfacecss($interfacecss)
+ {
+ if(is_string($interfacecss) && file_exists(Model::CSS_DIR . $interfacecss)) {
+ self::$interfacecss = $interfacecss;
+ } else {
+ self::$interfacecss = null;
+ }
+ }