示例#1
0
 /**
  * 验证日志目录是否存在
  */
 private function checkPath()
 {
     $this->config = (require PES_PATH . 'Config/config.php');
     $this->logPath = substr(PES_PATH, 0, -1) . $this->config['LOG_PATH'];
     $this->path = $this->logPath . date('/Ymd');
     \Expand\CreatePath::action($this->config['LOG_PATH'] . date('/Ymd'));
 }
示例#2
0
 /**
  * 验证日志目录是否存在
  */
 private function checkPath()
 {
     $this->config = (require PES_PATH . 'Config/config.php');
     \Expand\CreatePath::action($this->config['FILE_CACHE_PATH']);
     $this->cachePath = PES_PATH . $this->config['FILE_CACHE_PATH'];
 }