Fixed Trac #422 (detection of magic_quotes_runtime)

SVN:trunk[1301]
This commit is contained in:
Denis Flaven
2011-06-24 14:46:21 +00:00
parent 54d5497f0a
commit 22c6df1a7a

View File

@@ -266,6 +266,12 @@ function CheckPHPVersion(SetupWebPage $oP)
$aErrors[] = "'magic_quotes_gpc' is set to On. Please turn it Off before continuing. You may want to check the PHP configuration file(s): '$sPhpIniFile'. Be aware that this setting can also be overridden in the apache configuration.";
$bResult = false;
}
if (magic_quotes_runtime())
{
$aErrors[] = "'magic_quotes_runtime' is set to On. Please turn it Off before continuing. You may want to check the PHP configuration file(s): '$sPhpIniFile'. Be aware that this setting can also be overridden in the apache configuration.";
$bResult = false;
}
$sMemoryLimit = trim(ini_get('memory_limit'));
if (empty($sMemoryLimit))