摘要:
使用yii框架的url路径一般形如hostname/?r=xxxx/xxxx/xxxx&sdfs=dsfdsf我们可以看到有时会使用protected目录下的controller,有时会使用module中controller,具体是如何处理的呢,请看如下的分析:以下代码摘自yii框架核心代码%Yiiroot%/framework/web/CWebApplication.php=================================================================================================//1.runCon 阅读全文