diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-10-23 11:18:32 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-10-23 11:18:32 +0200 |
commit | 256a18c50f0c042ae80d931ab3bd54b09f0fafa0 (patch) | |
tree | 9fceaab178250c1297da97fd79073f9e1512b4b7 /system/helpers/file_helper.php | |
parent | f837ed97b98f4e05b4cc55938c1e68bf947280d5 (diff) |
Fix issues #134, #1911
Diffstat (limited to 'system/helpers/file_helper.php')
-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 e68bb7f7a..441345b05 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php @@ -109,7 +109,7 @@ if ( ! function_exists('delete_files')) function delete_files($path, $del_dir = FALSE, $level = 0, $htdocs = FALSE) { // Trim the trailing slash - $path = rtrim($path, DIRECTORY_SEPARATOR); + $path = rtrim($path, '/\\'); if ( ! $current_dir = @opendir($path)) { |