'urlManager'=>array(  
'enablePrettyUrl' => true, //对url进行美化
'showScriptName' => false,//隐藏index.php
'suffix' => '.html',//后缀
'enableStrictParsing'=>FALSE,//不要求网址严格匹配,则不需要输入rules
'rules' => []//网址匹配规则
),
                'enablePrettyUrl' => true, //对url进行美化
'showScriptName' => false,//隐藏index.php
'suffix' => '.html',//后缀
'enableStrictParsing'=>FALSE,//不要求网址严格匹配,则不需要输入rules
'rules' => []//网址匹配规则
),
                    
                    2016-12-11
                
            和楼下的差不错  Undefined index: default_label_img
使用给的index.php页面报错。
                使用给的index.php页面报错。
                    
                    2016-12-10
                
            call_user_func() expects parameter 1 to be a valid callback, class 'this' not found
                
                    
                    2016-12-10
                
            BaseController中为啥要些beforeAction?又没用到,如果要写就写在各自的子类就是了啊。
                
                    
                    2016-12-09
                
            
                                最新回答 / Gigure
                                
                                                            common/models/base/BaseModel.php中getPages()要加 return $data;frontend/widgets/post/PostWidget.php中run()方法要加return $this->render('index',['data'=>$result]);
                            
                        
                        2016-12-08
                
             
             
        








