aboutsummaryrefslogtreecommitdiff
path: root/class/class.w.config.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-10-04 05:10:51 +0200
committervincent-peugnet <v.peugnet@free.fr>2018-10-04 05:10:51 +0200
commit67b20c49ec4e5efb4526fc64ef679dfb6dd41e30 (patch)
tree289a6da21e036b62c881bc505a079d5d64dc1c20 /class/class.w.config.php
parentc3c4be4a4efd1404aad19797c15d2a9a6ffe29a6 (diff)
downloadwcms-67b20c49ec4e5efb4526fc64ef679dfb6dd41e30.tar.gz
wcms-67b20c49ec4e5efb4526fc64ef679dfb6dd41e30.zip
2.8 auto-tag-update + help + tabs
Diffstat (limited to 'class/class.w.config.php')
-rw-r--r--class/class.w.config.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/class/class.w.config.php b/class/class.w.config.php
index 1d5f7b5..68b0987 100644
--- a/class/class.w.config.php
+++ b/class/class.w.config.php
@@ -16,6 +16,7 @@ class Config
private $read;
private $cssread;
private $color4;
+ private $fontsize = 6;
// _______________________________________ F U N _______________________________________
@@ -105,6 +106,11 @@ class Config
return $this->color4;
}
+ public function fontsize()
+ {
+ return $this->fontsize;
+ }
+
// __________________________________________ S E T ______________________________________
@@ -171,6 +177,14 @@ class Config
}
}
+ public function setfontsize($fontsize)
+ {
+ $fontsize = intval($fontsize);
+ if($fontsize > 1) {
+ $this->fontsize = $fontsize;
+ }
+ }
+
}