Skip to content

Commit

Permalink
fix(Admin): Fix shows incorrect Laravel version number
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed Mar 29, 2018
1 parent d275597 commit 7e7e88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/SiteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ public function server(ResponseFactory $response)
'agent' => $_SERVER['HTTP_USER_AGENT'],
'protocol' => $_SERVER['SERVER_PROTOCOL'],
'method' => $_SERVER['REQUEST_METHOD'],
'laravel_version' => app()::VERSION,
'laravel_version' => app()->getLaravelVersion(),
'max_upload_size' => ini_get('upload_max_filesize'),
'execute_time' => ini_get('max_execution_time').'秒',
'server_date' => date('Y年n月j日 H:i:s'),
Expand Down

0 comments on commit 7e7e88e

Please sign in to comment.