From 1261735a18f24557f44b9febcdaa1c9190ff595e Mon Sep 17 00:00:00 2001 From: zhaoxiang <756958008@qq.com> Date: Fri, 3 Feb 2017 14:47:32 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E5=85=81=E8=AE=B8PHP5.4=E4=BB=A5?= =?UTF-8?q?=E4=B8=8A=E7=89=88=E6=9C=AC=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/install/common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/install/common.php b/application/install/common.php index d831828..34d0787 100644 --- a/application/install/common.php +++ b/application/install/common.php @@ -22,7 +22,7 @@ function checkEnv(){ ], 'php' => [ 'title' => 'PHP版本', - 'limit' => '5.6+', + 'limit' => '5.4+', 'current' => PHP_VERSION, 'icon' => 'fa fa-check text-success', ], @@ -41,7 +41,7 @@ function checkEnv(){ ]; //PHP环境检测 - if($items['php']['current'] < 5.6){ + if($items['php']['current'] < 5.4){ $items['php']['icon'] = 'fa fa-close text-danger'; session('error', true); }