summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-03-04 14:46:08 +0100
committerAndrey Andreev <narf@bofh.bg>2013-03-04 14:46:08 +0100
commitd8efc9559c0fdd4cb75f621042eb028a762fd984 (patch)
tree47c03346f1dda662b8fac13226fdcecd7ff20c4b
parent5a6814e2c832186e61d15e2032c4ad41932c4f49 (diff)
parent83c344efcae85ef3f07453bda70292a6bb628178 (diff)
Merge pull request #2300 from vlakoff/develop
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);
}
// ------------------------------------------------------------------------