diff --git a/app/class/Controllermedia.php b/app/class/Controllermedia.php index f93544f8..5393e752 100644 --- a/app/class/Controllermedia.php +++ b/app/class/Controllermedia.php @@ -97,11 +97,11 @@ public function upload() $fontfacer = new Servicefont($this->mediamanager); $fontfacer->writecss(); } - $this->redirect($this->generate('media') . $_POST['route']); } catch (RuntimeException $e) { Model::sendflashmessage($e->getMessage(), Model::FLASH_ERROR); } } + $this->redirect($this->generate('media') . $_POST['route']); } else { http_response_code(403); $this->showtemplate('forbidden');