aboutsummaryrefslogtreecommitdiff
path: root/app/class/controllermedia.php
blob: 75540e2d1cd06e0f61c790ce43dea4972d2b777e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php

class Controllermedia extends Controller
{
    protected $medialist;
    protected $mediamanager;

    public function __construct($render) {
        parent::__construct($render);
        
        $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']);

    }


}


?>