EllisLab/CodeIgniter — comment on commit 8bf6bb654da32626e9c3a4e40f9ca7ea464a9e19
File: system/helpers/file_helper.php line 147
By aquariuz:

Shouldn't this be ...`&& substr($filename, 0, 1) != '.'` (or `!==`)?
See line 150 of removed code.
`$filename` is not an array.