900字范文,内容丰富有趣,生活中的好帮手!
900字范文 > 高仿砍柴网自媒体新闻资讯网站源码(织梦DEDE内核+手机WAP版)

高仿砍柴网自媒体新闻资讯网站源码(织梦DEDE内核+手机WAP版)

时间:2023-12-14 08:17:53

相关推荐

高仿砍柴网自媒体新闻资讯网站源码(织梦DEDE内核+手机WAP版)

高仿砍柴网自媒体新闻资讯网站源码(织梦DEDE内核+手机WAP版)下载地址:/detail/chenhao0568/931#comment

安装说明:

1、上传站点跟目录下,执行http://网址/install,完成安装向导;

2、登录后台,http://网址/admin

3、还原数据库,“系统”-“系统设置”-“数据库备份/还原”-“还原数据库”

4、完成数据库还原后,修改“系统设置”-“系统基本参数”

5、生成全站,“更新系统缓存”-“一键更新网站”。

以下代码为转载:

<?php/*** @version $Id: index.php 1 9:23 -11-11 tianya $* @package DedeCMS.Site* @copyrightCopyright (c) - , DesDev, Inc.* @license /usersguide/license.html* @link */if(!file_exists(dirname(__FILE__).'/data/common.inc.php')){header('Location:install/index.php');exit();}//自动生成HTML版if(isset($_GET['upcache']) || !file_exists('index.html')){require_once (dirname(__FILE__) . "/include/common.inc.php");require_once DEDEINC."/arc.partview.class.php";$GLOBALS['_arclistEnv'] = 'index';$row = $dsql->GetOne("Select * From `#@__homepageset`");$row['templet'] = MfTemplet($row['templet']);$pv = new PartView();$pv->SetTemplet($cfg_basedir . $cfg_templets_dir . "/" . $row['templet']);$row['showmod'] = isset($row['showmod'])? $row['showmod'] : 0;if ($row['showmod'] == 1){$pv->SaveToHtml(dirname(__FILE__).'/index.html');include(dirname(__FILE__).'/index.html');exit();} else { $pv->Display();exit();}}else{header('HTTP/1.1 301 Moved Permanently');header('Location:index.html');}?>

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。