From fdd4893f6486af3e742280b6ece9647f3cbd8559 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Wed, 12 Jan 2022 19:10:26 +0800 Subject: [PATCH] =?UTF-8?q?php=E6=9C=80=E4=BD=8E7.4=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E8=B5=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/core.php b/public/core.php index 4da6ea727..ec3d0cf34 100755 --- a/public/core.php +++ b/public/core.php @@ -13,11 +13,11 @@ define('APPLICATION_VERSION', 'v2.2.3'); // 检测PHP环境 -if(version_compare(PHP_VERSION,'7.2.5','<')) +if(version_compare(PHP_VERSION,'7.4.0','<')) { header('HTTP/1.1 500 Internal Server Error'); header('Content-Type:text/html;charset=utf-8'); - die('

ShopXO '.APPLICATION_VERSION.'

需要PHP版本最低 v7.2.5,当前PHP版本 v'.PHP_VERSION.'

'); + die('

ShopXO '.APPLICATION_VERSION.'

需要PHP版本最低 v7.4.0,当前PHP版本 v'.PHP_VERSION.'

'); } // 定义系统目录分隔符