Skip to content

Commit

Permalink
upgrade to 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
liyu001989 committed Dec 13, 2018
1 parent aaf453c commit 008a0fc
Show file tree
Hide file tree
Showing 4 changed files with 1,576 additions and 1,381 deletions.
8 changes: 1 addition & 7 deletions app/Http/Middleware/TrustProxies.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,5 @@ class TrustProxies extends Middleware
*
* @var array
*/
protected $headers = [
Request::HEADER_FORWARDED => 'FORWARDED',
Request::HEADER_X_FORWARDED_FOR => 'X_FORWARDED_FOR',
Request::HEADER_X_FORWARDED_HOST => 'X_FORWARDED_HOST',
Request::HEADER_X_FORWARDED_PORT => 'X_FORWARDED_PORT',
Request::HEADER_X_FORWARDED_PROTO => 'X_FORWARDED_PROTO',
];
protected $headers = Request::HEADER_X_FORWARDED_ALL;
}
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"type": "project",
"require": {
"php": ">=7.0.0",
"fideloper/proxy": "~3.3",
"fideloper/proxy": "~4.0",
"guzzlehttp/guzzle": "~6.3",
"hieu-le/active": "~3.5",
"intervention/image": "^2.4",
"laravel/framework": "5.5.*",
"laravel/framework": "5.7.*",
"laravel/horizon": "~1.0",
"laravel/tinker": "~1.0",
"mews/captcha": "~2.0",
Expand All @@ -27,7 +27,7 @@
"filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0",
"phpunit/phpunit": "~7.0",
"summerblue/generator": "~0.5"
},
"autoload": {
Expand Down
Loading

0 comments on commit 008a0fc

Please sign in to comment.