commit | fd971781c4f4d1b436cc7b9efd2e409b7b400b88 | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Wed Feb 20 18:39:18 2008 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Wed Feb 20 18:39:18 2008 +0000 |
tree | 92c96c05b7b0e2f747c14e77eddff1d5d1836ea2 | |
parent | 06935e610645384faf3d3897585ed4be668d4795 [diff] |
modified get_filenames() to return FALSE if the directory cannot be read
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php index ef07de7..0005c2a 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php
@@ -184,6 +184,10 @@ } return $_filedata; } + else + { + return $FALSE; + } } }