增加安装条件

This commit is contained in:
Wisp X 2022-03-12 09:49:17 +08:00
parent 58c34a2548
commit 45021411ae

View File

@ -59,6 +59,10 @@ class Controller extends BaseController
'name' => 'readlink、symlink 函数',
'intro' => '读取、创建符号链接函数',
'result' => function_exists('readlink') && function_exists('symlink'),
])->push([
'name' => 'exec、shell_exec 函数',
'intro' => '执行外部命令',
'result' => function_exists('exec') && function_exists('shell_exec'),
])->push([
'name' => 'PHP >= 8.0.2',
'intro' => '最低要求 PHP 8.0.2 版本',