Err: "/www/wwwroot/peak.youzhiapi.top/protected/view/default/index.html" is not exists!

501.      }
502. 
503.      public function compile($tempalte_name) {
504.          $file $this->template_dir DS $tempalte_name;
505.          if (!file_exists($file)) {
506.              err('Err: "' $file '" is not exists!');
507.          }
508. 
509.          if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
510.              err('Err: Directory "' $this->compile_dir '" is not writable or readable');
511.          }
472.          $this->template_dir $template_dir;
473.          $this->compile_dir $compile_dir;
474.      }
475. 
476.      public function render($tempalte_name) {
477.          $complied_file $this->compile($tempalte_name);
478. 
479.          @ob_start();
480.          extract($this->template_valsEXTR_SKIP);
481.          $_view_obj = &$this;
482.          include $complied_file;
266.          $this->_auto_display false;
267. 
268.          if ($return) {
269.              return $this->_v->render($tpl_name);
270.          } else {
271.              echo $this->_v->render($tpl_name);
272.          }
273.      }
274.  }
275. 
276.  //echo $_SERVER['REQUEST_URI'];
11.              $template_index $template.'/index.html';
12.          }else{
13.              echo TEMPLATE_ROOT;
14.              exit(' -> 无首页模板,请前往后台进行首页模板设置');
15.          }
16.          $this->display($template_index);
17.      }
18.  }
122.  if (!method_exists($controller_name$action_name)) {
123.      _err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
124.  }
125. 
126.  $controller_obj = new $controller_name();
127.  $controller_obj->$action_name();
128. 
129.  if ($controller_obj->_auto_display) {
130.      $auto_tpl_name = (empty($__module) ? '' $__module DS) . $__controller '_' $__action '.html';
131.      if (file_exists(APP_DIR DS 'protected' DS 'view' DS $auto_tpl_name)) {
132.          $controller_obj->display($auto_tpl_name);
40.  if($_GET['runcron']){
41.      //云端防止监控自动停止
42.      $ch curl_init();curl_setopt($chCURLOPT_URL, ((int)$_SERVER['SERVER_PORT'] == 80 'http://'.$_SERVER['HTTP_HOST'] : 'https://'.$_SERVER['HTTP_HOST']).'/Crontab/Tim/Run?r='.time());curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);curl_setopt($chCURLOPT_SSL_VERIFYHOSTfalse);curl_setopt($chCURLOPT_RETURNTRANSFER1);curl_setopt($chCURLOPT_FOLLOWLOCATION1);curl_setopt($chCURLOPT_TIMEOUT1);curl_exec($ch);curl_close($ch);
43.      exit('站点正常哦');
44.  }
45.  require(APP_DIR.'/protected/lib/speed.php');