aboutsummaryrefslogtreecommitdiff
path: root/app/class/config.php
diff options
context:
space:
mode:
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)) {