diff --git a/src/controllers/LogViewerController.php b/src/controllers/LogViewerController.php index 0b543af..10c7a21 100644 --- a/src/controllers/LogViewerController.php +++ b/src/controllers/LogViewerController.php @@ -21,7 +21,7 @@ public function index() if (request()->input('dl')) { return Response::download(storage_path() . '/logs/' . base64_decode(request()->input('dl'))); - } elseif (Input::has('del')) { + } elseif (request()->has('del')) { File::delete(storage_path() . '/logs/' . base64_decode(request()->input('del'))); return Redirect::to(Request::url()); }