We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f54898c commit 0a3dc71Copy full SHA for 0a3dc71
1 file changed
src/Runner.php
@@ -34,16 +34,18 @@ public function handleException($exception)
34
35
foreach ($handlers as $handler) {
36
if ($handler instanceof PrettyPageHandler) {
37
+
38
$handler->addDataTable('ThinkPHP Application', [
- 'Version' => App::VERSION,
39
- 'Accept Charset' => Request::header('ACCEPT_CHARSET') ?: '<none>',
40
- 'HTTP Method' => Request::method(),
41
- 'Path' => Request::pathinfo(),
42
- 'Query String' => Request::query() ?: '<none>',
43
- 'Base URL' => Request::baseUrl(),
44
- 'Scheme' => Request::scheme(),
45
- 'Port' => Request::port(),
46
- 'Host' => Request::host(),
+ 'Version' => App::VERSION,
+ 'URI' => Request::url(true),
+ 'Request URI' => Request::url(),
+ 'Path Info' => Request::pathinfo(),
+ 'Query String' => Request::query() ?: '<none>',
+ 'HTTP Method' => Request::method(),
+ 'Base URL' => Request::baseUrl(),
+ 'Scheme' => Request::scheme(),
47
+ 'Port' => Request::port(),
48
+ 'Host' => Request::host(),
49
]);
50
51
// 环境变量
0 commit comments