From e8bdf93e92c780fcb3172a92e41d7aac40e26ce5 Mon Sep 17 00:00:00 2001
From: Pig Fang
Date: Thu, 28 Feb 2019 09:32:40 +0800
Subject: [PATCH] update version
---
README.md | 4 ++--
README_EN.md | 4 ++--
bootstrap/chkenv.php | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index dccb6d53..1ab1180a 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
-
+
@@ -43,7 +43,7 @@ Blessing Skin 是一个开源的 PHP 项目,这意味着您可以自由地在
Blessing Skin 对您的服务器有一定的要求。_在大多数情况下,下列所需的 PHP 扩展已经开启。_
- 一台支持 URL 重写的主机,Nginx、Apache 或 IIS
-- **PHP >= 7.1.3** [(服务器不支持?)](https://github.com/bs-community/blessing-skin-server/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E)
+- **PHP >= 7.1.8** [(服务器不支持?)](https://github.com/bs-community/blessing-skin-server/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E)
- 安装并启用如下 PHP 扩展:
- OpenSSL
- PDO
diff --git a/README_EN.md b/README_EN.md
index 89c81201..53a4b270 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -7,7 +7,7 @@
-
+
@@ -43,7 +43,7 @@ Requirements
Blessing Skin has only a few system requirements. _In most cases, these PHP extensions are already enabled._
- Web server with URL rewriting enabled
-- **PHP >= 7.1.3** (use v2.x branch if your server doesn't meet the requirements)
+- **PHP >= 7.1.8** (use v2.x branch if your server doesn't meet the requirements)
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
diff --git a/bootstrap/chkenv.php b/bootstrap/chkenv.php
index 1e894040..1eb4ad55 100644
--- a/bootstrap/chkenv.php
+++ b/bootstrap/chkenv.php
@@ -7,10 +7,10 @@
exit($error);
}
- if (version_compare(PHP_VERSION, '7.1.3', '<')) {
+ if (version_compare(PHP_VERSION, '7.1.8', '<')) {
die_with_utf8_encoding(
- '[Error] Blessing Skin requires PHP version >= 7.1.3, you are now using '.PHP_VERSION.'
'.
- '[错误] 你的 PHP 版本过低('.PHP_VERSION.'),Blessing Skin 要求至少为 7.1.3'
+ '[Error] Blessing Skin requires PHP version >= 7.1.8, you are now using '.PHP_VERSION.'
'.
+ '[错误] 你的 PHP 版本过低('.PHP_VERSION.'),Blessing Skin 要求至少为 7.1.8'
);
}