zendframework / zend-captcha

Captcha component from Zend Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Silence PHP Warning: unlink() in GC

fedys opened this issue · comments

Sometimes I get: PHP Warning: unlink() due to concurrent requests on server. Thus unlink($file->getPathname()); in method \Zend\Captcha\Image::gc() should be silenced with: @unlink($file->getPathname());.

@fedys I've created PR #23 for it.