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

61.              $controllerLayout str_replace(File_TXT,'.html',$controllerLayout);
62.              if (file_exists($controllerLayout)) {
63.                  $this->template($controllerLayout);
64.              }else{
65.                  $f strpos($name,File_TXT)!==false $name $name.File_TXT;
66.                  Error_msg('无法找到视图文件,页面模板:'.$f);
67.              }
68.            
69.          }
70.          
71.          
56.      }
57. 
58.      // 渲染视图
59.      public function display($name=null)
60.      {
61.          $this->_view->render($name);
62.      }
63.      
64.      // 获取URL参数值
65.      public function frparam($str=null$int=0,$default FALSE$method null){
66.          
961.              }
962.              
963.              exit;
964.          }
965.          header("HTTP/1.0 404");
966.          $this->display($this->template.'/404');
967.          $this->end_cache($this->cache_file);
968.          exit;
969.      }
970.      
971.      //开启检查缓存
363.                  exit;
364.              }
365.              
366.              
367.              //错误页面->404
368.              $this->error(JZLANG('输入url错误!'));
369.              exit;
370.          }
371.          
372.          
373.          
320.                  }
321.              
322.              }
323.          }
324.          $dispatch = new $controller($param);
325.          $dispatch->$actionName($param);
326.         
327.          
328.          
329.          
330.      }
83.          spl_autoload_register(array($this'loadClass'));
84.          $this->setDbConfig();
85.          $this->setReporting();
86.          $this->removeMagicQuotes();
87.          //$this->unregisterGlobals();
88.          $this->route();
89.          
90.      }
91. 
92.      // 路由处理
93.      public function route()
450. 
451.  // 加载配置文件
452.  $config = require(APP_PATH 'conf/config.php');
453. 
454.  //实例化核心类
455.  (new frphp($config))->run();
38. 
39.  //定义静态文件路径
40.  define('Tpl_style','/static/');
41. 
42.  // 加载框架文件
43.  require(APP_PATH 'frphp/fr.php');
44. 
45.  // 就这么简单~
46.