diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-22 22:13:28 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-22 22:13:28 +0200 |
commit | bd16dc7c6fc630a6b59ca3b041dde146ab50c72b (patch) | |
tree | b2f6a42c0bdb23606c1e9fdba0c28f0aee6b1786 /app/class/Modelfont.php | |
parent | eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f (diff) | |
download | wcms-bd16dc7c6fc630a6b59ca3b041dde146ab50c72b.tar.gz wcms-bd16dc7c6fc630a6b59ca3b041dde146ab50c72b.zip |
colors refactor with exceptions
Diffstat (limited to 'app/class/Modelfont.php')
-rw-r--r-- | app/class/Modelfont.php | 9 |
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() { |