修正安装检测和数据表

Signed-off-by: 七彩枫叶 <424235748@qq.com>
This commit is contained in:
七彩枫叶
2023-05-19 03:04:40 +00:00
committed by Gitee
parent 8b1e63abcc
commit 810023ecd4
3 changed files with 6 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ class Index extends BaseController
// 检测生产环境
foreach ($this->checkEnv() as $key => $value) {
if ($key == 'php' && (float)$value < 7.3) {
if ($key == 'php' && (float)$value < 8.0.0) {
return $this->error('PHP版本过低');
}
}