Файловый менеджер - Редактировать - /home/autoovt/www/CsrfCookieController.php.tar
Назад
home/autoovt/www/vendor-old/laravel/sanctum/src/Http/Controllers/CsrfCookieController.php 0000666 00000001103 14772056737 0026033 0 ustar 00 <?php namespace Laravel\Sanctum\Http\Controllers; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Http\Response; class CsrfCookieController { /** * Return an empty response simply to trigger the storage of the CSRF cookie in the browser. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function show(Request $request) { if ($request->expectsJson()) { return new JsonResponse(null, 204); } return new Response('', 204); } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка