I have tried
if(file_exists(storage_path().'test.txt' )) {
dd("YES, it's there.");
}else {
dd("Nope, it's not exist");
}
I have test.txt in my storage folder.
What did I missed ?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3fZydgT
via IFTTT
Aucun commentaire:
Enregistrer un commentaire