1.找到admin目录下的center.php用记事本打开找到
if(!strstr(preg_replace("/http:\/\/(www\.|)(.*)/is","\\2",$WEBURL),preg_replace("/http:\/\/(www\.|)(.*)/is","\\2",$webdb[www_url]))){
echo '<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />';
echo "<CENTER><A HREF='index.php?lfj=center&job=config' style='color:red;font-size:25px;'>严重警告,你设置的“整站访问网址”有误,请点击重新设置</A></CENTER>";
exit;
}
删除上面的代码------------------解决提示“严重警告,你设置的“整站访问网址”有误,请点击重新设置”
2.后台管理---网站核心设置------整站访问网址“留空”
3注意如果设置了整站不设置玉米就必须删除各频道ADMIN/global.php里面的
if( !strstr($WEBURL,$webdb[www_url]) ){
echo "<META HTTP-EQUIV=REFRESH CONTENT='0;URL=$Murl/".Madmindir."'>";
exit;
}