1. 無法找到視圖文件,頁面模板:cl/article/hy-list.html.php

                68.              $controllerLayout str_replace(File_TXT,'.html',$controllerLayout);
                69.              if (file_exists($controllerLayout)) {
                70.                  $this->template($controllerLayout);
                71.              }else{
                72.                  $f strpos($name,File_TXT)!==false $name $name.File_TXT;
                73.                  Error_msg('無法找到視圖文件,頁面模板:'.$f);
                74.              }
                75.            
                76.          }
                77.          
                78.          
                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.          
                365.                  $lists_html M('molds')->getField(['biaoshi'=>$this->type['molds']],'list_html');
                366.                  $res['lists_html'] = str_replace('.html','',$lists_html);
                367.              }
                368.              
                369.              
                370.              $this->display($this->template.'/'.$res['molds'].'/'.$res['lists_html']);
                371.              if(!$this->frparam('ajax')){
                372.              $this->end_cache($this->cache_file);
                373.              }
                374. 
                375.              
                319.              foreach($hookconfig as $v){
                320.                  if("app\\".$v['module']==$app_home && $v['controller']==APP_CONTROLLER && (strpos(','.$v['action'].',',','.APP_ACTION.',')!==false || $v['all_action']==1)){
                321.                      $newhook_controller '\\app\\'.$v['module'].'\\plugins\\'.$v['hook_controller'].'Controller';
                322.                      $newhook = new $newhook_controller($param);
                323.                      $hook_action $v['hook_action'];
                324.                      $newhook->$hook_action($param);
                325.                      $newhook null;
                326.                  }
                327.              
                328.              }
                329.          }
                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()
                456. 
                457.  // 加載配置文件
                458.  $config = require(APP_PATH 'conf/config.php');
                459. 
                460.  //實例化核心類
                461.  (new frphp($config))->run();
                47. 
                48.  //定義靜態文件路徑
                49.  define('Tpl_style','/static/');
                50. 
                51.  // 加載框架文件
                52.  require(APP_PATH 'frphp/fr.php');
                53. 
                54.  // 就這么簡單~
                55. 
                国产A级毛片久久久久久精品_久久人妻av中文系列_色偷偷超碰_中文字幕亚洲综合久久2020