Gregwar/Image

Error removing cache files

CarlosCosmo opened this issue · 0 comments

I've encountered a problem with GarbageCollect.php. When is trying to find around all folders inside given one, it only search in a few.

You should change the line 37 from this:

while ($file = readdir($dir)) {

to

while (false !== ($file = readdir($dir))) {

Regards!
Have a nice day.