Welcome Guest, Not a member yet? Register   Sign In
get_dir_file_info issue
#11

[eluser]obsessed1[/eluser]
Just in case. I found this to work:

get_dir_file_info('./path/to/dir',false,true);

once I added the last two bool params it worked for me.

Looking at the func signature shows this:

function get_dir_file_info($source_dir, $include_path = FALSE, $_recursion = FALSE);

looks like recursion is off by default.

Not sure if this is the latest version though so check the helper source and see if its the same as what I found.
#12

[eluser]Derek Jones[/eluser]
You'll want to update, obsessed1, and not use the third argument, it is for internal use only, and your usage will not work properly with current or future versions. The bug was as described in my post above, and has since been fixed in version 1.7.1.
#13

[eluser]obsessed1[/eluser]
Thanks! My bad. I'll update. Thanks for quick correction.




Theme © iAndrew 2016 - Forum software by © MyBB