mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 23:52:49 +08:00
去掉一个被废弃的常量
This commit is contained in:
@@ -104,7 +104,7 @@ class Cookie
|
|||||||
$value = $_COOKIE[$name];
|
$value = $_COOKIE[$name];
|
||||||
if (0 === strpos($value, 'think:')) {
|
if (0 === strpos($value, 'think:')) {
|
||||||
$value = substr($value, 6);
|
$value = substr($value, 6);
|
||||||
$value = json_decode(MAGIC_QUOTES_GPC ? stripslashes($value) : $value, true);
|
$value = json_decode($value, true);
|
||||||
array_walk_recursive($value, $this->jsonFormatProtect, 'decode');
|
array_walk_recursive($value, $this->jsonFormatProtect, 'decode');
|
||||||
}
|
}
|
||||||
return $value;
|
return $value;
|
||||||
|
|||||||
Reference in New Issue
Block a user