From 1d011471674ede030407c351abfbf2bfc93d8b7a Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 18 Oct 2019 14:20:55 +0200 Subject: new page render system create html files in `/render` folder --- app/class/controllermedia.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/class/controllermedia.php') diff --git a/app/class/controllermedia.php b/app/class/controllermedia.php index 93ab218..6cde0ce 100644 --- a/app/class/controllermedia.php +++ b/app/class/controllermedia.php @@ -19,13 +19,13 @@ class Controllermedia extends Controller { if ($this->user->iseditor()) { - if (!$this->mediamanager->basedircheck()) { + if (!$this->mediamanager->dircheck(Model::MEDIA_DIR)) { throw new Exception("Media error : Cant create /media folder"); } - if (!$this->mediamanager->favicondircheck()) { + if (!$this->mediamanager->dircheck(Model::FAVICON_DIR)) { throw new Exception("Media error : Cant create /media/favicon folder"); } - if (!$this->mediamanager->thumbnaildircheck()) { + if (!$this->mediamanager->dircheck(Model::THUMBNAIL_DIR)) { throw new Exception("Media error : Cant create /media/thumbnail folder"); } -- cgit v1.2.3