Convert Input to Request facade

Laravel 5.2 no longer registers the `Input` facade by default. While
still available in Laravel 5, the `Input` facade is removed in
Laravel 6.
This commit is contained in:
Shift
2023-01-07 18:48:11 +00:00
parent 67bf088f27
commit 723ac38edd
25 changed files with 98 additions and 91 deletions

View File

@@ -15,7 +15,7 @@ $segment = "";
foreach ($segments as $seg) {
$segment.="/".$seg;
}
$inputs = json_encode(\Input::all());
$inputs = json_encode(Request::all());
$path = public_path();
?>
<script type="text/javascript">