discuz x3.1 去除后面的portal.php

修改index.php文件代码 查找代码:  

$url = empty($_ENV['domain']['app']['default']) ? (!empty($_ENV['domain']['defaultindex']) ? $_ENV['domain']['defaultindex'] : 'forum.php') : 'http://'.$_ENV['domain']['app']['default'];
 改为:   $_ENV['curapp'] = str_replace('.php', '', $_ENV['domain']['defaultindex']);

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/bcc143da5653e4d145437cb2d4e2a41e.html