示例#1
0
 protected function sendResponse()
 {
     global $system_s, $info_s;
     $this->addResponseData('dev_server', $system_s['dev_server']);
     $this->addResponseData('info_s', $info_s);
     $template = $this->getTemplate();
     if (empty($template)) {
         $this->clearResponseMessages();
         $template = $this->templateNotFound();
         $this->responseNotFound();
     }
     $this->templateEngine->display($template, $this->getResponseData());
 }