CodeIgniter Forums
file helper @ CI 1.7.0 - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: file helper @ CI 1.7.0 (/thread-13296.html)

file helper @ CI 1.7.0 - El Forum - 11-17-2008


I found a *somewhat-i-considered-a-bug* on CI version 1.7. It's on the get_dir_file_info method. When I execute it, I only got the first file, no matter the recursion was set to true or false.

It seems that the *bug* is located on line 242. So, I made a change inside the method by altering line 242 with this one:

array_push($_filedata, get_dir_file_info($source_dir.$file.DIRECTORY_SEPARATOR, $include_path, TRUE));