New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
captchta_helper and Severity: Warning --> unlink(./captcha/fonts) Is a directory #1678
Comments
pickupman
added a commit
to pickupman/CodeIgniter
that referenced
this issue
Aug 19, 2012
I have updated the code to check if the file is a .jpg file since that are the files that are generated by the captcha helper. Previously the code only ignored, '.', '..', 'index.html' filenames. It would also try and delete a subfolder that may have contained the font_path. |
alexbilbie
added a commit
that referenced
this issue
Sep 2, 2012
Fixed in c557083 |
nonchip
pushed a commit
to nonchip/CodeIgniter
that referenced
this issue
Jun 29, 2013
nonchip
pushed a commit
to nonchip/CodeIgniter
that referenced
this issue
Jun 29, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it's something to be fixed by replacing
if ($filename != "." and $filename != ".." and $filename != "index.html")
to
if ($filename != "." and $filename != ".." and $filename != "index.html" and $filename != "fonts")
The text was updated successfully, but these errors were encountered: