更新拓展包

This commit is contained in:
wispx
2018-12-01 15:59:53 +08:00
parent 715200c88d
commit ee31dfad43
443 changed files with 3788 additions and 33605 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ class Console
$reqs = $runtime > 0 ? number_format(1 / $runtime, 2) : '∞';
$mem = number_format((memory_get_usage() - Container::get('app')->getBeginMem()) / 1024, 2);
if (isset($_SERVER['HTTP_HOST'])) {
$uri = $_SERVER['SERVER_PROTOCOL'] . ' ' . $_SERVER['REQUEST_METHOD'] . ' : ' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
if ($request->host()) {
$uri = $request->protocol() . ' ' . $request->method() . ' : ' . $request->url(true);
} else {
$uri = 'cmd:' . implode(' ', $_SERVER['argv']);
}