mirror of
https://github.com/processwire/processwire.git
synced 2025-08-06 14:57:10 +02:00
Fix issue processwire/processwire-issues#2024
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user