Welcome Guest, Not a member yet? Register   Sign In
file helper @ CI 1.7.0
#1

[eluser]Unknown[/eluser]
Hi.

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));

Cheers




Theme © iAndrew 2016 - Forum software by © MyBB