diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 17:19:26 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 17:19:26 +0100 |
commit | d7f3313ff4514e38c9f53439cd1a1287e56e45f7 (patch) | |
tree | abff39ab11cb317f5fcd2db558da1c59bdae9239 /app/class/controllermedia.php | |
parent | 2f363e8fa26ab849539e64ff7caa21bd164e8979 (diff) | |
download | wcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.tar.gz wcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.zip |
reboot folder
Diffstat (limited to 'app/class/controllermedia.php')
-rw-r--r-- | app/class/controllermedia.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app/class/controllermedia.php b/app/class/controllermedia.php new file mode 100644 index 0000000..6bd22cd --- /dev/null +++ b/app/class/controllermedia.php @@ -0,0 +1,37 @@ +<?php + +class Controllermedia extends Controller +{ + protected $medialist; + protected $mediamanager; + + public function __construct() { + parent::__construct(); + + $this->mediamanager = new Modelmedia; + + } + + public function desktop() + { + + if($this->useriseditor()) { + + + + } + } + + public function addmedia() + { + echo $this->templates->render('media', ['interface' => 'addmedia']); + + //$message = $this->mediamanager->addmedia($_FILES, 2 ** 24, $_POST['id']); + + } + + +} + + +?>
\ No newline at end of file |