예제 #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'];
 }