王子拿着留下的43码水晶鞋陷入沉思。

文章列表

1-1条,共1条数据.

Yii url地址美化

Written by Quinn Pan on 2014年3月30日 上午8:03:16. Posted in 网站开发

关于yii地址美化的文章很多,大多数采用的都是官方的教程方法。 主配置文件,main.php的组件(components)中开启路由模式 ‘urlManager’=>array( ‘urlFormat’=>’path’, ‘showScriptName’=>false, ‘urlSuffix’=>’.html’, ‘rules’=>array( ‘<controller:\w+>/<id:\d+>’=>’<controller>/view’, ‘<c...