From 6ae349b4eccd775bc93043df02a149c2a16351a7 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Thu, 6 Feb 2025 10:35:22 -0500 Subject: [PATCH] Fix issue processwire/processwire-issues#2024 --- install.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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;