summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/helpers/directory_helper.php4
-rw-r--r--user_guide/changelog.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/system/helpers/directory_helper.php b/system/helpers/directory_helper.php
index b1c497686..a6fb7841e 100644
--- a/system/helpers/directory_helper.php
+++ b/system/helpers/directory_helper.php
@@ -72,6 +72,10 @@ if ( ! function_exists('directory_map'))
closedir($fp);
return $filedata;
}
+ else
+ {
+ return FALSE;
+ }
}
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 56081456f..2bbe832d1 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -82,7 +82,7 @@ SVN Revision: </p>
<ul>
<li>Added <kbd>form_multiselect()</kbd> to the <a href="helpers/form_helper.html">Form helper</a>.</li>
<li>Modified <kbd>form_hidden()</kbd> in the <a href="helpers/form_helper.html">Form helper</a> to accept multi-dimensional arrays.</li>
- <li>Modified <kbd>directory_map()</kbd> in the <a href="helpers/directory_helper.html">Directory helper</a> to allow the inclusion of hidden files.</li>
+ <li>Modified <kbd>directory_map()</kbd> in the <a href="helpers/directory_helper.html">Directory helper</a> to allow the inclusion of hidden files, and to return FALSE on failure to read directory.</li>
</ul>
</li>
<li>General