aboutsummaryrefslogtreecommitdiff
path: root/app/class/config.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-05 02:40:16 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-05 02:40:16 +0100
commitad3aed389f2e0d69802641f5a5b7c6add73f1ce5 (patch)
tree1e4abd614799be623a2ae696fa960d3fba93a5a6 /app/class/config.php
parentfc56b60be55b4340d647d2017fdeb24b81eb84b6 (diff)
downloadwcms-ad3aed389f2e0d69802641f5a5b7c6add73f1ce5.tar.gz
wcms-ad3aed389f2e0d69802641f5a5b7c6add73f1ce5.zip
templateoption
Diffstat (limited to 'app/class/config.php')
-rw-r--r--app/class/config.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/class/config.php b/app/class/config.php
index d6904df..7d2320e 100644
--- a/app/class/config.php
+++ b/app/class/config.php
@@ -17,6 +17,7 @@ abstract class Config
protected static $existnot = 'This page does not exist yet';
protected static $defaultbody = '%HEADER%'. PHP_EOL .PHP_EOL . '%NAV%'. PHP_EOL .PHP_EOL . '%ASIDE%'. PHP_EOL .PHP_EOL . '%SECTION%'. PHP_EOL .PHP_EOL . '%FOOTER%';
protected static $defaultart = '';
+ protected static $defaultfavicon = '';
protected static $showeditmenu = true;
protected static $editsymbol = 'pen';
@@ -141,6 +142,11 @@ abstract class Config
return self::$defaultart;
}
+ public static function defaultfavicon()
+ {
+ return self::$defaultfavicon;
+ }
+
public static function showeditmenu()
{
return self::$showeditmenu;
@@ -228,6 +234,13 @@ abstract class Config
}
}
+ public static function setdefaultfavicon($defaultfavicon)
+ {
+ if(is_string($defaultfavicon)) {
+ self::$defaultfavicon = $defaultfavicon;
+ }
+ }
+
public static function setdefaultart($defaultart)
{
if(is_string($defaultart)) {