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

537.      }
538. 
539.      public function compile($tempalte_name) {
540.          $file $this->template_dir DS $tempalte_name;
541.          if (!file_exists($file)) {
542.              err('Err: "' $file '" is not exists!');
543.          }
544. 
545.          if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
546.              err('Err: Directory "' $this->compile_dir '" is not writable or readable');
547.          }
508.          $this->template_dir $template_dir;
509.          $this->compile_dir $compile_dir;
510.      }
511. 
512.      public function render($tempalte_name) {
513.          $complied_file $this->compile($tempalte_name);
514. 
515.          @ob_start();
516.          extract($this->template_valsEXTR_SKIP);
517.          $_view_obj = &$this;
518.          include $complied_file;
291.          $this->_auto_display false;
292. 
293.          if ($return) {
294.              return $this->_v->render($tpl_name);
295.          } else {
296.              echo $this->_v->render($tpl_name);
297.          }
298.      }
299.  }
300. 
301.  //echo $_SERVER['REQUEST_URI'];
9.              $template_index $template.'/index.html';
10.          }else{
11.              echo TEMPLATE_ROOT;
12.              exit(' -> 无首页模板,请前往后台进行首页模板设置');
13.          }
14.          $this->display($template_index);
15.      }
16.  }
147.  if (!method_exists($controller_name$action_name)) {
148.      _err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
149.  }
150. 
151.  $controller_obj = new $controller_name();
152.  $controller_obj->$action_name();
153. 
154.  if ($controller_obj->_auto_display) {
155.      $auto_tpl_name = (empty($__module) ? '' $__module DS) . $__controller '_' $__action '.html';
156.      if (file_exists(APP_DIR DS 'protected' DS 'view' DS $auto_tpl_name)) {
157.          $controller_obj->display($auto_tpl_name);
36.  }
37. 
38.  define('APP_DIR'realpath('./'));
39.  require(APP_DIR.'/protected/Version.php');
40.  require(APP_DIR.'/protected/lib/Common.php');
41.  require(APP_DIR.'/protected/lib/speed.php');
42.  //$ali_jump_url = 'https://render.alipay.com/p/yuyan/180020010001206672/rent-index.html?formData=' . urlencode('{"productCode":"TRANSFER_TO_ALIPAY_ACCOUNT","bizScene":"YUEBAO","outBizNo":"","transAmount":"0.63","remark":"' . generateShopName() . substr($trade_no, -5) . '","businessParams":{"returnUrl":""},"payeeInfo":{"identity":"' . $config['userId'] . '","identityType":"ALIPAY_USER_ID"}}');
43.  //$ali_jump_url = 'https://alipay.com/1';
44.  //echo $ali_jump_url.'短网址:'.UrlShorten($ali_jump_url);
45.  if($_GET['runcron']){
46.      //云端防止监控自动停止