summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2013-03-04 14:30:08 +0100
committervlakoff <vlakoff@gmail.com>2013-03-04 14:30:08 +0100
commit83c344efcae85ef3f07453bda70292a6bb628178 (patch)
tree4e5e70a68440300b4891977918521e55209ded7a
parentbb5cf0a51ce1aecf1dc5ebeb38336f59388321ef (diff)
Cache file driver: clean() now preserves .htaccess and index files
-rw-r--r--system/libraries/Cache/drivers/Cache_file.php2
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);
}
// ------------------------------------------------------------------------