2016-08-29 16:41:28 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
2018-08-07 18:15:39 +08:00
|
|
|
| Security Configuration
|
2016-08-29 16:41:28 +08:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Load them from env to config, preventing cache problems
|
|
|
|
|
|
|
|
|
*/
|
2019-02-27 23:44:50 +08:00
|
|
|
'cipher' => env('PWD_METHOD', 'SALTED2MD5'),
|
|
|
|
'salt' => env('SALT', ''),
|
2018-08-07 18:15:39 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| SSL Certificates
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Describes the SSL certificate verification behavior of all Guzzle requests.
|
|
|
|
| By default, we use the CA bundle provided by Mozilla.
|
|
|
|
|
|
|
|
|
| See: http://docs.guzzlephp.org/en/stable/request-options.html#verify
|
|
|
|
|
|
|
|
|
*/
|
2019-02-27 23:44:50 +08:00
|
|
|
'certificates' => env('SSL_CERT', storage_path('patches/ca-bundle.crt')),
|
|
|
|
'user_agent' => env('USER_AGENT', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36'),
|
2016-08-29 16:41:28 +08:00
|
|
|
];
|