当前位置:Gxlcms > PHP教程 > yii2urlManager'urlFormat'=>'path',报错,没有urlFormat属性

yii2urlManager'urlFormat'=>'path',报错,没有urlFormat属性

时间:2021-07-01 10:21:17 帮助过:91人阅读

Unknown Property – yii\base\UnknownPropertyException

Setting unknown property: yii\web\UrlManager::urlFormat

回复内容:

Unknown Property – yii\base\UnknownPropertyException

Setting unknown property: yii\web\UrlManager::urlFormat

enablePrettyUrl 
http://www.yiiframework.com/doc-2.0/yii-web-urlmanager.html

配置文件中关于 URL Manager 的配置写错了

人气教程排行