diff options
Diffstat (limited to 'app/class/Controllermedia.php')
-rw-r--r-- | app/class/Controllermedia.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/class/Controllermedia.php b/app/class/Controllermedia.php index a957df8..c6e5d6c 100644 --- a/app/class/Controllermedia.php +++ b/app/class/Controllermedia.php @@ -2,8 +2,8 @@ namespace Wcms; -use \Exception; -use \LogicException; +use Exception; +use LogicException; class Controllermedia extends Controller { @@ -34,7 +34,7 @@ class Controllermedia extends Controller throw new LogicException($exception->getMessage()); } - $mediaopt = new Medialist($_GET); + $mediaopt = new Mediaopt($_GET); if (empty($mediaopt->path())) { $mediaopt->setpath(DIRECTORY_SEPARATOR . Model::MEDIA_DIR); } |