还是有很多新手问这一个老生常谈的问题,其实很简单2步搞定,走起:
修改/public_html/wx/controller/index.php这个文件
找到最下面的一段代码if(strpos(strtolower($_SERVER ['HTTP_HOST']),'www.xxx.cn') !== false){
Response::write(file_get_contents(YYUC_FRAME_PATH.YYUC_PUB.'/static/wxgjcn/index.html'));
die();
}
if(strpos(strtolower($_SERVER ['HTTP_HOST']),'www.xxx.cn') !== false){
Response::write(file_get_contents(YYUC_FRAME_PATH.YYUC_PUB.'/static/wxgjcom/index.html'));
die();
}
if(strpos(strtolower($_SERVER ['HTTP_HOST']),'www.xxx.cn') !== false){
Response::write(file_get_contents(YYUC_FRAME_PATH.YYUC_PUB.'/static/wxdxcx/index.html'));
die();
}
其中的www.xxx.cn修改成你自己的网址
别以为这样就结束了 还有最重要的一步
/static/wxgjcn/ 替换这个文件夹内html的所有连接网址
好吧 这才算搞定了