diff options
author | vlakoff <vlakoff@gmail.com> | 2013-03-04 14:30:08 +0100 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-03-04 14:30:08 +0100 |
commit | 83c344efcae85ef3f07453bda70292a6bb628178 (patch) | |
tree | 4e5e70a68440300b4891977918521e55209ded7a /system/libraries | |
parent | bb5cf0a51ce1aecf1dc5ebeb38336f59388321ef (diff) |
Cache file driver: clean() now preserves .htaccess and index files
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_file.php b/system/libraries/Cache/drivers/Cache_file.php index f1f1a30be..769bd5a26 100644 --- a/system/libraries/Cache/drivers/Cache_file.php +++ b/system/libraries/Cache/drivers/Cache_file.php @@ -133,7 +133,7 @@ class CI_Cache_file extends CI_Driver { */ public function clean() { - return delete_files($this->_cache_path); + return delete_files($this->_cache_path, FALSE, TRUE); } // ------------------------------------------------------------------------ |