Преглед изворни кода

Update cookie.helper.php

tags/6.3.0
叙述、别离 пре 5 месеци
родитељ
комит
a8a8712c87
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      src/system/helpers/cookie.helper.php

+ 2
- 2
src/system/helpers/cookie.helper.php Прегледај датотеку

@@ -24,7 +24,7 @@ if (!function_exists('PutCookie')) {
global $cfg_cookie_encode, $cfg_domain_cookie;
if (version_compare(PHP_VERSION, '7.3.0', '>=')) {
$options = array(
"expires"=>time() + $kptime,
"expires" => time() + $kptime,
'path' => $pa,
'domain' => $cfg_domain_cookie,
'samesite' => 'None',
@@ -50,7 +50,7 @@ if (!function_exists('DropCookie')) {
global $cfg_domain_cookie;
if (version_compare(PHP_VERSION, '7.3.0', '>=')) {
$options = array(
"expires"=>time() - 360000,
"expires" => time() - 360000,
'path' => "/",
'domain' => $cfg_domain_cookie,
'samesite' => 'None',


Loading…
Откажи
Сачувај