mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 19:10:40 +00:00
env variables refactoring
This commit is contained in:
@@ -20,7 +20,7 @@ class ReCaptchaRules implements Rule
|
||||
'https://www.google.com/recaptcha/api/siteverify',
|
||||
[
|
||||
'form_params' => [
|
||||
'secret' => env('RECAPTCHA_CLIENT_SECRET', false),
|
||||
'secret' => config('services.recaptcha.client_secret'),
|
||||
'remoteip' => request()->getClientIp(),
|
||||
'response' => $value,
|
||||
],
|
||||
|
||||
@@ -245,7 +245,7 @@ if (! function_exists('get_storage')) {
|
||||
*/
|
||||
function get_storage()
|
||||
{
|
||||
return env('FILESYSTEM_DISK');
|
||||
return config('filesystems.default');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user