diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-08-08 23:02:03 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-08-08 23:02:03 +0200 |
commit | ef18c5f848a5e4d1239bdc1d89e0cc9f75a10512 (patch) | |
tree | 23b154c9d71e15c75a201822318eaa66dcefc99e /app/class/config.php | |
parent | e75e54d23d262940acd4c7df2a8cc7b7ab1751d5 (diff) | |
download | wcms-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.php | 14 |
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; + } + } |