directory_map issues - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: directory_map issues (/showthread.php?tid=23260) |
directory_map issues - El Forum - 10-05-2009 [eluser]Sunray Scott[/eluser] Code: $dir = '/home/sunray/public_html/sunrayftp/IN/'; Hi, The directory_map function is not returning anything, not even an empty array. I verified that the path exists and that permissions are OK. I am using Code Igniter 1.7.1. Any ideas? Scott Sunray Printing Solutions directory_map issues - El Forum - 10-05-2009 [eluser]Sunray Scott[/eluser] I determined that the issue is a permission issue caused by suPHP by using the opendir() and closedir() PHP functions. Would be nice if the directory_map function returned an error message rather than nothing. The issue is now beyond the scope of my original post and Code Igniter. Scott Sunray Printing Solutions |