mardi 29 décembre 2015

Laravel Storage returns: mkdir(): File exists

When ill try to check if a file exists in Laravel 5.1 i am always getting this error:

ErrorException in Local.php line 95: 
mkdir(): File exists

I dont know what could here be wrong, i want to check if a file exists or not with:

$exists = Storage::disk('images')->has('filename.jpg');

dd($exists);

Disk "images":

'disks' => [

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

    'images' => [
        'driver' => 'local',
        'root'   => storage_path().'/app/images',
    ],

Any ideas?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1VnPVbs
via IFTTT

Aucun commentaire:

Enregistrer un commentaire