Welcome Guest, Not a member yet? Register   Sign In
get_filenames() works recursively even when explicitly told not to
#2

[eluser]Octi[/eluser]
Also had problems with this.

Temporary solution:

Go to system/helpers/file_helper.php, line 189 and replace:

Code:
get_filenames($source_dir.$file.DIRECTORY_SEPARATOR, $include_path, TRUE);

with

Code:
if($_recursion)
{
   get_filenames($source_dir.$file.DIRECTORY_SEPARATOR, $include_path, TRUE);
}

Not sure how this will affect other libraries...


Messages In This Thread
get_filenames() works recursively even when explicitly told not to - by El Forum - 04-21-2010, 03:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB