Fix @schrej's proxy code.

This commit is contained in:
Dane Everitt 2017-02-12 16:23:31 -05:00
parent 2290118a0d
commit b5c39a1212
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -24,7 +24,7 @@ return [
* how many proxies that client's request has * how many proxies that client's request has
* subsequently passed through. * subsequently passed through.
*/ */
'proxies' => in_array(env('TRUSTED_PROXIES', ['*', '**'])) ? 'proxies' => in_array(env('TRUSTED_PROXIES', []), ['*', '**']) ?
env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', null)), env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', null)),
/* /*