wampserver 点击跳转localhost变0.0.0.0的解决方法!

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

例如: 
projectContents.=<li><ahref=".(suppress_localhost ? ‘http://localhost/’ : ”).file.">.file.’’;

LIANG
原文地址:https://www.cnblogs.com/qypt2015/p/6914143.html