PHP7中文手册2018 带注释 最新chm版
Yiiframework 2.0, By default, The default controller is ‘site’ and action is ‘index’. We will call this like ‘site/index’. If we want, we can customize this using ‘defaultRoute’ parameter in web.php.
01 |
........ |
02 |
$config = [ |
03 |
'defaultRoute' => '/tblcategory/index' , |
04 |
'components' => [ |
05 |
'urlManager' => [ |
06 |
..... |
07 |
'rules' => array ( |
08 |
..... |
09 |
), |
10 |
-->
|