config.asp
来自「ZD-BS是一个基于asp+access的个人blog系统 程序特点: 1.」· ASP 代码 · 共 97 行
ASP
97 行
<!--#include file="core/function.asp"-->
<!--#include file="core/database.asp"-->
<!--#include file="core/io.asp"-->
<!--#include file="core/cache.asp"-->
<!--#include file="core/system.asp"-->
<!--#include file="core/html.asp"-->
<!--#include file="core/xml.asp"-->
<!--#include file="core/api.asp"-->
<%
//the BLOG CAHRSET/////////////////////////////
var charset="UTF-8";
//the BLOG LANGUAGE////////////////////////////
var language="zh-CN";
//the Cookies and the Applications name space//
var zd_nameSpace="zd_bs_1_";
//the blog database url////////////////////////
var zd_dbURL="data/data.mdb";
//******************DO NOT MODIFY UNDER********************//
//the blog version
var version="v2.0 Preview";
//the timer start
var zd_startTime=Number(new Date());
//the page refererURL
var zd_pageReferer=String(Request.ServerVariables("HTTP_REFERER"));
if(zd_pageReferer=="undefined") zd_pageReferer="";
//Global variables
var func;
var dbConn;
var theCache;
var io
var sys;
var theHTML;
var theXML;
var theAPI;
//the debug info
var arrDebug=new Array();
//visitor info
var zd_userID=0;
var zd_userName="";
var zd_userEmail="";
var zd_userHomepage="";
var zd_userGroup="guest";
//plugin variables
var zd_plugins=new Array();
//the language variable
var zd_ls=new Array();
%>
<!--#include file="lang/lang_standard.asp"-->
<!--#include file="plugin/include.asp"-->
<script language="JScript" runat="server">
function initialize(){
func=new FunctionClass();
dbConn=new DataClass();
io=new IoClass();
theCache=new CacheClass();
sys=new SystemClass();
theHTML=new HtmlClass();
theXML=new XmlClass();
theAPI=new ApiClass();
//set the database file path
dbConn.accPath=Server.MapPath(zd_dbURL);
//the language pack
zd_ls=lang_standard()
}
function setFree(){
delete func;
delete dbConn;
delete io;
delete theCache;
delete sys;
delete theHTML;
delete theXML;
delete theAPI;
}
</script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?