I have the following field in my Layout:
Upload::make('candidate.blank')
->storage('local')
->title('Анкета')
->groups('blank')
It should save file to the storage/app/[year]/[month]/[day] directory as default, but the file is saved to the storage/app/null directory.
filesystems.php has needed disk:
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'throw' => false,
],
]
Configuration for attachments in platform.php is default:
'attachment' => [
'disk' => 'local',
'generator' => \Orchid\Attachment\Engines\Generator::class,
],
Logs don't have errors.
If i save files to the public disc, it works the same, files are saved to storage/app/public/null/