Example #1
0
File: File.php Project: 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 : '');
 }