Ejemplo n.º 1
0
Archivo: FS.php Proyecto: techart/tao
 /**
  * Инвалидирует кэш
  *
  */
 public function flush()
 {
     Events::call('cache.flush');
     Events::call('cache.delete', $s = '*');
     $res = IO_FS::clear_dir($this->path);
     if ($this->use_array_cache) {
         $this->timestamps = array();
         $this->values = array();
     }
     return $res;
 }