PHP 5.4 이상에서는 magic_quotes_gpc 상태를 체크하지 않음

This commit is contained in:
Kijin Sung 2015-04-18 14:19:33 +09:00
parent 799f6f3a67
commit 7f9aee3e71
8 changed files with 8 additions and 8 deletions

View file

@ -1380,7 +1380,7 @@ class Context
{
$result[$k] = $v;
if($do_stripslashes && version_compare(PHP_VERSION, '5.9.0', '<') && get_magic_quotes_gpc())
if($do_stripslashes && version_compare(PHP_VERSION, '5.4.0', '<') && get_magic_quotes_gpc())
{
$result[$k] = stripslashes($result[$k]);
}