无法找到视图文件,页面模板:default/404.html

61.          $controllerLayout str_ireplace(['//','\\'],'/',$controllerLayout);
62.          //判断视图文件是否存在
63.          if (file_exists($controllerLayout)) {
64.              $this->template($controllerLayout);
65.          } else {
66.             Error_msg('无法找到视图文件,页面模板:'.$name.File_TXT);
67.          }
68.          
69.          
70.          
71.      }
62.      }
63. 
64.      // 渲染视图
65.      public function display($name=null)
66.      {
67.          $this->_view->render($name);
68.      }
69.      
70.      // 获取URL参数值
71.      public function frparam($str=null$int=0,$default FALSE$method null){
72.          
969.              }
970.              
971.              exit;
972.          }
973.          header("HTTP/1.0 404");
974.          $this->display($this->template.'/404');
975.          $this->end_cache($this->cache_file);
976.          exit;
977.      }
978.      
979.      //开启检查缓存
371.                  exit;
372.              }
373.              
374.              
375.              //错误页面->404
376.              $this->error(JZLANG('输入url错误!'));
377.              exit;
378.          }
379.          
380.          
381.          
334.                  }
335.              
336.              }
337.          }
338.          $dispatch = new $controller($param);
339.          $dispatch->$actionName($param);
340.         
341.          
342.          
343.          
344.      }
89.          spl_autoload_register(array($this'loadClass'));
90.          $this->setDbConfig();
91.          $this->setReporting();
92.          $this->removeMagicQuotes();
93.          //$this->unregisterGlobals();
94.          $this->route();
95.          
96.      }
97. 
98.      // 路由处理
99.      public function route()
464. 
465.  // 加载配置文件
466.  $config = require(APP_PATH 'conf/config.php');
467. 
468.  //实例化核心类
469.  (new frphp($config))->run();
45. 
46.  //定义静态文件路径
47.  define('Tpl_style','/static/');
48. 
49.  // 加载框架文件
50.  require(APP_PATH 'frphp/fr.php');
51. 
52.  // 就这么简单~
53.