I am using dircetory_helper() to list all directories and files. However, when I change the permissions of a folder to 0700 (so it cannot be seen or accessed), it is still appearing in the array. Like so;
Array
(
[2001-07-01/] => Array
(
[0] => 1_july_2001.pdf
)
[0] => introduction.html
[2009-05-01/] =>
[2012-07-01/] => Array
(
[0] => 1_july_2012.pdf
[1] => 1_july_2012.xls
)
[2013-01-01/] => Array
(
[0] => 1_january_2013.pdf
[1] => key_points.html
[2] => 1_january_2013.xls
)
)
Look at the 2009-05-01/ key. I do not want this to appear in the array. At the moment it is appearing as an array key but what is the item? Is it NULL?
Is there a fix for this? I am using codeigniter version 2.1.3