diff options
-rw-r--r-- | system/helpers/file_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php index 4c7eaa54e..c0f525688 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php @@ -112,7 +112,7 @@ function write_file($path, $data, $mode = 'wb') */ function delete_files($path, $del_dir = FALSE) { - // Trim the trailing slahs + // Trim the trailing slash $path = preg_replace("|^(.+?)/*$|", "\\1", $path); if ( ! $current_dir = @opendir($path)) |