summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-09-28 19:24:06 +0200
committerAndrey Andreev <narf@devilix.net>2014-09-28 19:24:06 +0200
commitf9a615a5a304a2ead573d6e2869ee4ec7620511e (patch)
tree370993f408c41389012ae1dc8c2349a6e658672a
parentb8f4c71d298fac847afe789ebb1535674330d1bd (diff)
[ci skip] Remove references to 'PHP5' from comments
-rwxr-xr-xsystem/core/Security.php2
-rw-r--r--system/helpers/file_helper.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index 181ace20b..4b204ad95 100755
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -439,7 +439,7 @@ class CI_Security {
/*
* Remove disallowed Javascript in links or img tags
- * We used to do some version comparisons and use of stripos for PHP5,
+ * We used to do some version comparisons and use of stripos(),
* but it is dog slow compared to these simplified non-capturing
* preg_match(), especially if the pattern exists in the string
*
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index 8fdb5f7cc..7d2253ef0 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -225,7 +225,7 @@ if ( ! function_exists('get_dir_file_info'))
$source_dir = rtrim(realpath($source_dir), DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR;
}
- // foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast
+ // Used to be foreach (scandir($source_dir, 1) as $file), but scandir() is simply not as fast
while (FALSE !== ($file = readdir($fp)))
{
if (is_dir($source_dir.$file) && $file[0] !== '.' && $top_level_only === FALSE)