level 7
52ytqq
楼主
安装Discuz X1.5网址后面带端口的解决方法:找到文件:source\function\function_core.php 第1077行,注释掉下面这句。
找到:$port = empty($_SERVER['SERVER_PORT']) || $_SERVER['SERVER_PORT'] == '80' ? '' : ':'.$_SERVER['SERVER_PORT'];
改为: //$port = empty($_SERVER['SERVER_PORT']) || $_SERVER['SERVER_PORT'] == '80' ? '' : ':'.$_SERVER['SERVER_PORT'];
可以到我搭建好的web 体验:http://zhifuwan.duapp.com
2014年05月28日 14点05分
1
找到:$port = empty($_SERVER['SERVER_PORT']) || $_SERVER['SERVER_PORT'] == '80' ? '' : ':'.$_SERVER['SERVER_PORT'];
改为: //$port = empty($_SERVER['SERVER_PORT']) || $_SERVER['SERVER_PORT'] == '80' ? '' : ':'.$_SERVER['SERVER_PORT'];
可以到我搭建好的web 体验:http://zhifuwan.duapp.com