Hi
I have a big problem with $this->db->cache_delete_all(). In config/database.php i have $db[‘default’][‘cachedir’] = “cache/database”; and when I put in my application $this->db->cache_delete_all() it’s deleting not only controller+action folder but it’s deleting all database folder from cache… It’s way to fix this?
edit:
I resolve that problem in CodeIgniter is a bug… I must change in database/DB_cache.php i function delete_all from delete_files($this->CI->db->cachedir, TRUE); to delete_files($this->CI->db->cachedir, false); and it’s work fine
