mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 16:22:41 +09:00
Merge pull request #1424 from kijin/fix/no-such-version
PHP 5.4 이상에서는 magic_quotes_gpc 상태를 체크하지 않음
This commit is contained in:
commit
3522ba9933
8 changed files with 8 additions and 8 deletions
|
|
@ -685,7 +685,7 @@ class moduleAdminController extends module
|
|||
$args->value = trim(Context::get($key));
|
||||
|
||||
// if request method is json, strip slashes
|
||||
if(Context::getRequestMethod() == 'JSON' && version_compare(PHP_VERSION, "5.9.0", "<") && get_magic_quotes_gpc())
|
||||
if(Context::getRequestMethod() == 'JSON' && version_compare(PHP_VERSION, "5.4.0", "<") && get_magic_quotes_gpc())
|
||||
{
|
||||
$args->value = stripslashes($args->value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue