-
-
Notifications
You must be signed in to change notification settings - Fork 203
Description
What happened?
The custom Storage for the file system still doesn't seem to work for me.
Disk [user_documents] does not have a configured driver.
Disk [documents] does not have a configured driver.
Using the example in the #99 Storage::disk('user_documents')->files();
Using V0.4.0 of both NativePHP/laravel and NativePHP/electron
How to reproduce the bug
I'm simply just trying to use the file system for the computer, trying to get into the user's documents folder.
When using the example from the docs or in #99 it seems like the disk does not exist. And when looking at what disks exists in the coding Config::get('filesystems.disks')
it only displays the disks I set up myself.
I'm calling a liveware function that only die dumps the disk files. But it can't find it.
public function test()
{
dump(Config::get('filesystems.disks'));
dd(Storage::disk('user_documents')->files());
}
Package Version
0.4.0
PHP Version
8.2.9
Laravel Version
10.18.0
Node Version
20.5.0
Which operating systems does with happen with?
Linux
Notes
Using Livewire component, which I then run a function on with a simple button wire:click="test()"
.
Upgraded from V0.3.0