Monday, 6 July 2020

Disk [admin] not configured, please add a disk config in `config/filesystems.php`

In laravel, it is a security permission problem to write data into disk.

Disk is not configured for admin, You need to add a disk config in config/filesystems.php.


Open 'filesystems.php' file under config folder and add this to the disk array :

'admin' => [ 
        'driver' => 'local', 
        'root' => storage_path('app'), 
],

No comments:

Post a Comment