diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-03-04 14:46:08 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-03-04 14:46:08 +0100 |
commit | d8efc9559c0fdd4cb75f621042eb028a762fd984 (patch) | |
tree | 47c03346f1dda662b8fac13226fdcecd7ff20c4b /system/libraries/Cache/drivers | |
parent | 5a6814e2c832186e61d15e2032c4ad41932c4f49 (diff) | |
parent | 83c344efcae85ef3f07453bda70292a6bb628178 (diff) |
Merge pull request #2300 from vlakoff/develop
Cache file driver: clean() now preserves .htaccess and index files
Diffstat (limited to 'system/libraries/Cache/drivers')
-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); } // ------------------------------------------------------------------------ |