dimanche 29 novembre 2015

Laravel 5.1 - File::exists doesn't work?

Interestingly enough if I use this to check for the existence of a file:

if (File::exists('path/to/file')) { do stuff }

I get a File Not Found error that breaks the app if the file doesn't exist. Am I doing something wrong here?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire