commit | 256a18c50f0c042ae80d931ab3bd54b09f0fafa0 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Tue Oct 23 12:18:32 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Tue Oct 23 12:18:32 2012 +0300 |
tree | 9fceaab178250c1297da97fd79073f9e1512b4b7 | |
parent | f837ed97b98f4e05b4cc55938c1e68bf947280d5 [diff] [blame] |
Fix issues #134, #1911
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php index e68bb7f..441345b 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php
@@ -109,7 +109,7 @@ 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)) {