我安装yii框架并在->c:examplep/htdocs/yiitest 中运行一个项目
I在c:''examplep/htdocs/yiitest/protected/views/site/index.php 中创建一个更改
但我没有看到浏览器有任何变化
请帮我解决这个问题
您需要进入localhost/yiitest/site/index
url以查看更改。此url映射到SiteController
中的actionIndex
,actionIndex呈现site/index.php
文件。