diff --git a/install.php b/install.php index f384cfa5..42df893b 100644 --- a/install.php +++ b/install.php @@ -47,7 +47,7 @@ class Installer { * 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 @@ -1835,10 +1835,6 @@ class Installer { 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) { case 'intSigned': $value = (int) $value;