增加安装条件

This commit is contained in:
Wisp X
2022-03-12 19:16:21 +08:00
parent bf668edcae
commit 4bf87a11c9
+4
View File
@@ -59,6 +59,10 @@ class Controller extends BaseController
'name' => 'readlink、symlink 函数',
'intro' => '读取、创建符号链接函数',
'result' => function_exists('readlink') && function_exists('symlink'),
])->push([
'name' => 'putenv、getenv 函数',
'intro' => '设置和获取环境变量函数',
'result' => function_exists('putenv') && function_exists('getenv'),
])->push([
'name' => 'exec、shell_exec 函数',
'intro' => '执行外部命令',