去掉一个被废弃的常量

This commit is contained in:
huangdijia
2015-12-15 14:35:52 +08:00
parent a9aea67e64
commit 41d5300029

View File

@@ -104,7 +104,7 @@ class Cookie
$value = $_COOKIE[$name];
if (0 === strpos($value, 'think:')) {
$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');
}
return $value;