Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | Cookie设置
  4. // +----------------------------------------------------------------------
  5. return [
  6. // cookie 保存时间
  7. 'expire' => 0,
  8. // cookie 保存路径
  9. 'path' => '/',
  10. // cookie 有效域名
  11. 'domain' => '',
  12. // cookie 启用安全传输
  13. 'secure' => false,
  14. // httponly设置
  15. 'httponly' => false,
  16. // 是否使用 setcookie
  17. 'setcookie' => true,
  18. // samesite 设置,支持 'strict' 'lax'
  19. 'samesite' => '',
  20. ];