diff --git a/api.php b/api.php index bccd0ccada3..e0f86572d6f 100644 --- a/api.php +++ b/api.php @@ -19,11 +19,6 @@ * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ -if (version_compare(phpversion(), '7.3.0', '<') === true) { - echo 'It looks like you have an invalid PHP version. OpenMage supports PHP 7.3.0 or newer'; - exit; -} - $magentoRootDir = getcwd(); $bootstrapFilename = $magentoRootDir . '/app/bootstrap.php'; $mageFilename = $magentoRootDir . '/app/Mage.php'; diff --git a/get.php b/get.php index 5a8c332be16..fa882105809 100644 --- a/get.php +++ b/get.php @@ -18,15 +18,7 @@ * @copyright Copyright (c) 2016-2022 The OpenMage Contributors (https://www.openmage.org) * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ -if (version_compare(phpversion(), '7.3.0', '<') === true) { - echo '
OpenMage supports PHP 7.3.0 or newer. Find out how to install OpenMage using PHP-CGI as a work-around.
OpenMage supports PHP 7.3.0 or newer. -Find out how to install - OpenMage using PHP-CGI as a work-around.