Why Storage::delete() not working?

0 like 0 dislike
8 views
Hello!

I faced such problem...

Storage::delete('images/posts/' . $post->image); - do Not remove. According to various tests, but to no avail.

What could be the problem ?

Thank you!
by | 8 views

1 Answer

0 like 0 dislike
Try it like this.

<?php\rStorage::delete(base_path() . "images/posts/" . $post->image); ?>
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
33,771 users