How in laravel 5.8 read values of config/filesystems.php, with default value :
return [
'default' => env('FILESYSTEM_DRIVER', 'local'),
'cloud' => env('FILESYSTEM_CLOUD', 's3'),
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
I expected as :
$filesystem_pablic_path = config('filesystem.disks.public');
but empty value returned ...
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Xhhkad
via IFTTT
Aucun commentaire:
Enregistrer un commentaire