From eccfcfb35a3a7996cb950b1a4b56a43a55333e8d Mon Sep 17 00:00:00 2001 From: apreiml Date: Thu, 10 Mar 2016 10:30:25 +0100 Subject: [PATCH] fixed remaining Input Facades --- src/controllers/LogViewerController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/LogViewerController.php b/src/controllers/LogViewerController.php index c310c50..817c5b7 100644 --- a/src/controllers/LogViewerController.php +++ b/src/controllers/LogViewerController.php @@ -16,13 +16,13 @@ class LogViewerController extends Controller public function index() { - if (Input::get('l')) { + if (Request::input('l')) { LaravelLogViewer::setFile(base64_decode(Request::input('l'))); } - if (Input::get('dl')) { + if (Request::input('dl')) { return Response::download(LaravelLogViewer::pathToLogFile(base64_decode(Request::input('dl')))); - } elseif (Input::has('del')) { + } elseif (Request::has('del')) { File::delete(LaravelLogViewer::pathToLogFile(base64_decode(Request::input('del')))); return Redirect::to(Request::url()); }