%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/public_html/vebto/app/Http/Middleware/
Upload File :
Create Path :
Current File : /home/graphicd/public_html/vebto/app/Http/Middleware/EncryptCookies.php

<?php

namespace App\Http\Middleware;

use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;

class EncryptCookies extends BaseEncrypter
{
    /**
     * The names of the cookies that should not be encrypted.
     *
     * @var array
     */
    protected $except = [];

    public function isDisabled($name)
    {
        if ($name === slugify(config('app.name')).'_activeWorkspace') {
            return true;
        }
        return parent::isDisabled($name);
    }
}

Zerion Mini Shell 1.0