Exemplo n.º 1
0
Arquivo: WJS.php Projeto: enozoom/es
 /**
  * 缓存文件的存放路径
  * @return string
  */
 public static function cache_file()
 {
     return FileStatic::mkdir(APPPATH . 'cache/wechat') . 'ticket.json';
 }
Exemplo n.º 2
0
 private function filePath($level = LogLevel::ERROR)
 {
     return FileStatic::mkdir('logs/' . $level, 1) . date('Y-m-d') . '.log';
 }
Exemplo n.º 3
0
Arquivo: Cache.php Projeto: enozoom/es
 /**
  * 缓存文件夹结构规则
  * @param string $uri
  * @return string
  */
 protected function cache_dir_rule()
 {
     return FileStatic::mkdir(APPPATH . "cache/{$this->cache_path}/{$this->cmdq->d}/{$this->cmdq->c}");
 }