wampserver点击项目自动添加localhost

来源:互联网 发布:战地2游戏数据修改 编辑:程序博客网 时间:2024/05/31 19:33

最近下载新版本wampserver发现点击项目不会自动添加localhost了,导致访问项目很麻烦。
修改如下
修改wamp根目录下的wampmanager.conf
urlAddLocalhost = “on”
或者直接
在www目录下找到index.php然后修改里面查找$projectContents 或直接查看338行代码 修改’http://’为’http://localhost/‘即可

例如:
projectContents.=<li><ahref=".(file.’’;

0 0