Why does get_filenames have no param for stopping recursive listing of files in subdirs? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Why does get_filenames have no param for stopping recursive listing of files in subdirs? (/showthread.php?tid=58297) |
Why does get_filenames have no param for stopping recursive listing of files in subdirs? - El Forum - 05-31-2013 [eluser]Alucemet[/eluser] It's a shame the the file helper's get_filenames function assumes you want to get all of the files in subdirs. The third parameter of this function is $_recursion, and is set to FALSE by default, yet it appears this param is only a marker for an initial prep on the $source_dir. |