Skip to content

Commit

Permalink
fixed remaining Input Facades
Browse files Browse the repository at this point in the history
  • Loading branch information
apreiml committed Mar 10, 2016
1 parent da455e6 commit eccfcfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/controllers/LogViewerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit eccfcfb

Please sign in to comment.