removed an ereg from config
added a qualifier to a str_replace for \t in Input
changed substr to strncmp in Codeigniter.php and directory_map function
added braces in an if statement of unit test
Removed "scripts" from the auto-load search path. Scripts were deprecated in Version 1.4.1 (September 21, 2006). If you still need to use them for legacy reasons, they must now be manually loaded in each Controller.
diff --git a/system/helpers/directory_helper.php b/system/helpers/directory_helper.php
index 7af4d1e..d00bdf0 100644
--- a/system/helpers/directory_helper.php
+++ b/system/helpers/directory_helper.php
@@ -50,7 +50,7 @@
while (FALSE !== ($file = readdir($fp)))
{
- if (substr($file, 0, 1) == '.')
+ if (strncmp($file, '.', 1) == 0)
{
continue;
}
@@ -75,6 +75,6 @@
}
}
-
-/* End of file directory_helper.php */
+
+/* End of file directory_helper.php */
/* Location: ./system/helpers/directory_helper.php */
\ No newline at end of file