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

76.              //检测其是否可读可写
77.              
78.              
79.              
80.          } else {
81.             Error_msg('无法找到视图文件,页面模板:'.$name.'.html');
82.          }
83.          
84.          
85.          
86.      }
57.      }
58. 
59.      // 渲染视图
60.      public function display($name=null)
61.      {
62.          $this->_view->render($name);
63.      }
64.      
65.      // 获取URL参数值
66.      public function frparam($str=null$int=0,$default FALSE$method null){
67.          
736.          }
737.          if(!$this->type['details_html']){
738.              $details_html M('molds')->getField(['biaoshi'=>$this->type['molds']],'details_html');
739.              $this->type['details_html'] = str_replace('.html','',$details_html);
740.          }
741.          $this->display($this->template.'/'.$this->type['molds'].'/'.$this->type['details_html']);
742.          
743.      }
744.      //搜索--单一模块搜索
745.      function search(){
746.          $tables explode('|',$this->webconf['search_table']);
183.              
184.              if(isset($id)){
185.                  
186.                  //默认是详情页-非详情页另做处理
187.                  $this->id $id;
188.                  $this->jizhi_details($this->id);
189.                  if(!$this->frparam('ajax')){
190.                  $this->end_cache($this->cache_file);
191.                  }
192.                  
193.              }
331.                  }
332.              
333.              }
334.          }
335.          $dispatch = new $controller($param);
336.          $dispatch->$actionName($param);
337. 
338.          
339.          
340.          
341.      }
88.          spl_autoload_register(array($this'loadClass'));
89.          $this->setDbConfig();
90.          $this->setReporting();
91.          $this->removeMagicQuotes();
92.          //$this->unregisterGlobals();
93.          $this->route();
94.          
95.      }
96. 
97.      // 路由处理
98.      public function route()
461. 
462.  // 加载配置文件
463.  $config = require(APP_PATH 'conf/config.php');
464. 
465.  //实例化核心类
466.  (new FrPHP($config))->run();
45. 
46.  //定义静态文件路径
47.  define('Tpl_style','/static/');
48. 
49.  // 加载框架文件
50.  require(APP_PATH 'frphp/fr.php');
51. 
52.  // 就这么简单~
53.