1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 07:47:00 +02:00
This commit is contained in:
Ryan Cramer
2025-02-06 10:35:22 -05:00
parent 30b34c70b3
commit 6ae349b4ec

View File

@@ -47,7 +47,7 @@ class Installer {
* Minimum required PHP version to install ProcessWire * Minimum required PHP version to install ProcessWire
* *
*/ */
const MIN_REQUIRED_PHP_VERSION = '5.3.8'; const MIN_REQUIRED_PHP_VERSION = '7.1.0';
/** /**
* Test mode for installer development, non destructive * Test mode for installer development, non destructive
@@ -1835,10 +1835,6 @@ class Installer {
if($value === null && empty($sanitizer)) return null; if($value === null && empty($sanitizer)) return null;
if(version_compare(PHP_VERSION, "5.4.0", "<") && function_exists('get_magic_quotes_gpc')) {
if(get_magic_quotes_gpc()) $value = stripslashes($value);
}
switch($sanitizer) { switch($sanitizer) {
case 'intSigned': case 'intSigned':
$value = (int) $value; $value = (int) $value;