diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-10-18 14:20:55 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-10-18 14:20:55 +0200 |
commit | 1d011471674ede030407c351abfbf2bfc93d8b7a (patch) | |
tree | 91bbe902de1d9c31eea09eb3961781f5886cf70c /app/class/modelmedia.php | |
parent | 8b6848dfb5d469076f05be226e862fab928cd53f (diff) | |
download | wcms-1d011471674ede030407c351abfbf2bfc93d8b7a.tar.gz wcms-1d011471674ede030407c351abfbf2bfc93d8b7a.zip |
new page render system
create html files in `/render` folder
Diffstat (limited to 'app/class/modelmedia.php')
-rw-r--r-- | app/class/modelmedia.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app/class/modelmedia.php b/app/class/modelmedia.php index c2c1b47..8cd0224 100644 --- a/app/class/modelmedia.php +++ b/app/class/modelmedia.php @@ -6,32 +6,6 @@ class Modelmedia extends Model const MEDIA_SORTBY = ['id', 'size', 'type']; - public function basedircheck() - { - if (!is_dir(Model::MEDIA_DIR)) { - return mkdir(Model::MEDIA_DIR); - } else { - return true; - } - } - - public function favicondircheck() - { - if (!is_dir(Model::FAVICON_DIR)) { - return mkdir(Model::FAVICON_DIR); - } else { - return true; - } - } - - public function thumbnaildircheck() - { - if (!is_dir(Model::THUMBNAIL_DIR)) { - return mkdir(Model::THUMBNAIL_DIR); - } else { - return true; - } - } /** * Get the Media Object |