如题所述
dedecmså»æé¦é¡µindex.hmlæ¹æ³ï¼
1ãå¨ä¸»æºéé¢è®¾ç½®é»è®¤é¦é¡µï¼æindex.html设置å°ç¬¬ä¸ä½ã
2ãå¨FTPä¸å¦ææindex.phpæ件ï¼ç´æ¥å é¤index.htmlï¼è¿è¡å¨ææµè§ã
3ãæå¼FTPç½ç«çæ ¹ç®å½,æ¾å°æ ¹ç®å½ç index.php æ件ï¼å é¤éé¢çå 容ï¼å°ä¸é¢ç代ç ç²è´´è¿å»,ç¶åä¿åï¼ä¸é®çæå ¨ç«å³å¯ ã
<?phpif(!file_exists(dirname(__FILE__).'/data/common.inc.php'))
{
header('Location:install/index.php');
exit();
}
require_once (dirname(__FILE__) . "/include/common.inc.php");
require_once DEDEINC."/arc.partview.class.php";
$GLOBALS['_arclistEnv'] = 'index';
$row = $dsql->GetOne("Select * From `dede_homepageset`");
$row['templet'] = MfTemplet($row['templet']);
$pv = new PartView();
$pv->SetTemplet($cfg_basedir . $cfg_templets_dir . "/" . $row['templet']);
$pv->Display();
?>
温馨提示:答案为网友推荐,仅供参考
第1个回答 2017-02-21
进入虚拟主机后台
点击设置首页
点击index.html删除就可以了