Skip to content

Commit 184eb70

Browse files
authored
Merge pull request #7 from isszz/patch-4
可以直接赋值$_ENV来显示环境变量
2 parents b95ee16 + 57dc6c5 commit 184eb70

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Runner.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public function handleException($exception)
4747
]);
4848

4949
// 环境变量
50-
$handler->addDataTable('Environment', Env::get());
50+
$_ENV = Env::get();
51+
// $handler->addDataTable('Environment', Env::get());
5152

5253
// 从异常堆栈跟踪中打开代码编辑器
5354
if ($this->options['editor']) {

0 commit comments

Comments
 (0)