From 4bf87a11c95baaa269bc7ea88c261ef4fa7514c9 Mon Sep 17 00:00:00 2001 From: Wisp X <1591788658@qq.com> Date: Sat, 12 Mar 2022 19:16:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=89=E8=A3=85=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Controller.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index 19f770b6..7ff5293c 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -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' => '执行外部命令',