From 31438f664354fc9ce73253460ec142d38afadfe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Fri, 10 Feb 2023 15:26:36 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E5=85=A5=E5=8F=A3=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/public/index.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crmeb/public/index.php b/crmeb/public/index.php index cc3331638..89276711a 100755 --- a/crmeb/public/index.php +++ b/crmeb/public/index.php @@ -12,6 +12,13 @@ // [ 应用入口文件 ] namespace think; +if ('7.2.0' >= phpversion()) { + exit('您的php版本过低,不能安装本软件,兼容php版本7.2~7.4,谢谢!'); +} +if (phpversion() > 8.0) { + exit('您的php版本太高,不能安装本软件,兼容php版本7.2~7.4,谢谢!'); +} + define('DS', DIRECTORY_SEPARATOR); //检测是否已安装CRMEB系统