diff --git a/src/controllers/LogViewerController.php b/src/controllers/LogViewerController.php index db5e892..7efd05f 100644 --- a/src/controllers/LogViewerController.php +++ b/src/controllers/LogViewerController.php @@ -28,7 +28,7 @@ public function index() } elseif ($this->request->has('del')) { app('files')->delete(LaravelLogViewer::pathToLogFile(base64_decode($this->request->input('del')))); return $this->redirect($this->request->url()); - } elseif ($this->request->has('delall')){ + } elseif ($this->request->has('delall')) { foreach(LaravelLogViewer::getFiles(true) as $file){ app('files')->delete(LaravelLogViewer::pathToLogFile($file)); }