在 引用:复制代码
- include/common.inc.php
复制代码
- error_reporting(0);
- set_magic_quotes_runtime(0);
下加上 引用:转自复制代码
- $domain = 'bbs.nasue.com'; //新域名
- if ($_SERVER['HTTP_HOST'] != $domain) {
- header("HTTP/1.1 301 Moved Permanently");
- header("Location: http://{$domain}{$_SERVER[REQUEST_URI]}");
- }
- unset($domain);
http://www.discuz.net/thread-619071-1-1.html
欢迎光临 纳速健身 (https://nasue.com/) | Powered by Discuz! X3.4 |