aboutsummaryrefslogtreecommitdiff
path: root/app/class/Modelfont.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/Modelfont.php')
-rw-r--r--app/class/Modelfont.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/class/Modelfont.php b/app/class/Modelfont.php
index be8de81..3dac3ff 100644
--- a/app/class/Modelfont.php
+++ b/app/class/Modelfont.php
@@ -7,14 +7,7 @@ class Modelfont extends Model
protected const FONT_TYPES = ['woff2', 'woff', 'otf', 'ttf', 'eot', 'svg'];
- public function fontdircheck()
- {
- if (!is_dir(Model::FONT_DIR)) {
- return mkdir(Model::FONT_DIR);
- } else {
- return true;
- }
- }
+
public function getfontlist()
{