diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-11-03 19:36:32 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-11-03 19:36:32 +0100 |
commit | e6e622b8889424e844d027cb687e5f949157b19c (patch) | |
tree | 5fbdb4456309ca61a6f990740cb0da743cbd1e56 | |
parent | d3e4184537de165de37b48c43b4112aad7b4ad88 (diff) |
Ignore special dir in clean_stale_files
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | application/controllers/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php index 292605ff0..2617d4840 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -1115,7 +1115,7 @@ class File extends MY_Controller { $outer_dh = opendir($upload_path); while (($dir = readdir($outer_dh)) !== false) { - if (!is_dir($upload_path."/".$dir) || $dir == ".." || $dir == ".") { + if (!is_dir($upload_path."/".$dir) || $dir == ".." || $dir == "." || $dir == "special") { continue; } |