Ejemplo n.º 1
0
Archivo: File.php Proyecto: techart/tao
 public function query_cache_path($key = '')
 {
     $base = $this->base_path() . DIRECTORY_SEPARATOR . 'query_cache';
     if (!IO_FS::exists($base)) {
         IO_FS::make_nested_dir($base);
     }
     return $base . ($key ? DIRECTORY_SEPARATOR . $key : '');
 }