EncryptCookies.php 514 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace App\Http\Middleware;
  3. use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
  4. class EncryptCookies extends BaseEncrypter
  5. {
  6. /**
  7. * The names of the cookies that should not be encrypted.
  8. *
  9. * @var array
  10. */
  11. protected $except = [
  12. 'u',
  13. 'send_order_id',
  14. 'from',
  15. 'send_order_continue',
  16. 'send_order_flag',
  17. 'force_subscribe_name',
  18. 'sub_random_num',
  19. 'reader_share_bid',
  20. 'reader_share_cid'
  21. ];
  22. }