From f8f4bf10214897eda88d9f1169806792a5cf5f37 Mon Sep 17 00:00:00 2001 From: liaofei <136327134@qq.com> Date: Fri, 23 Aug 2019 14:10:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B02.6.13?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 6 ++++++ index.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..72ae0212 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Windows thumbnail cache files +/.idea +/runtime +/public/uploads +/application/database.php +/view/crmebNewUI/project.config.json diff --git a/index.php b/index.php index 6402eb1f..0ef2eeef 100644 --- a/index.php +++ b/index.php @@ -8,7 +8,7 @@ // +---------------------------------------------------------------------- // 检测PHP环境 -if(version_compare(PHP_VERSION,'5.5.9','<')) die('require PHP > 5.5.9 !'); +if(version_compare(PHP_VERSION,'7.0.0','<')) die('require PHP > 7.0.0 !'); //error_reporting(E_ALL ^ E_NOTICE);//显示除去 E_NOTICE 之外的所有错误信息 error_reporting(E_ERROR | E_WARNING | E_PARSE);//报告运行时错误 //检测是否已安装CrmEb系统