global.php
资源名称:BBWPS.rar [点击查看]
上传用户:yttaitong
上传日期:2009-05-10
资源大小:128k
文件大小:3k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
PHP
- <?php
- /*
- [BBWPS!] (C)2006-2010 小蜜蜂版权所有.
- This is NOT a freeware, use is subject to license terms
- 时间:2007年12月
- 描述:
- */
- require("parameter.list");
- if(!$T_perrows){
- $T_perrows=6;
- }
- $T_editext = explode(",",$T_editext);
- $T_rootdir = str_replace("\","/",realpath($T_rootdir));
- $T_haveico = array("doc","docx","fla","htm","mdb","php","ppt","rar","swf",
- "sql","txt","xls","gif","html","zip","js","asp",
- "jsp","css","jpg","png","bmp","xml");//有图标的文件类型
- $T_rlength = 4; //历史路径长度,长了的话,会使表格崩溃
- $T_percent = (int)(100/$T_perrows)."%";//每个文件所占空间,无需更改
- $T_tprefix = "[TIME^";//回收所需
- $T_tsuffix = "$]";//回收所需
- $T_tprefix_ = "[TIME^";//还原所需
- $T_tsuffix_ = "[$]]";//还原所需
- $T_fprefix = "[FROM^";//回收所需
- $T_fsuffix = "$]";//回收所需
- $T_fprefix_ = "[FROM^";//还原所需
- $T_fsuffix_ = "[$]]"; //还原所需 上面8个为回收,还原所需,还原时按照正则规则
- $T_session = "TMLST";//session名,可是随意字符串
- $T_Magic = @ini_get("magic_quotes_gpc");
- $T_basedir = str_replace("\","/",dirname(__FILE__));//本程序所在路径
- //采用绝对路径改版本程序,加了上面两个变量
- $T_task = "./task.php";//无需更改,更改时,其它文件多处地方要作修改,相当麻烦
- $T_main = "./filelist.php";//setup.php文件名 此文件必须要与被管理的文件的根目录相同
- $T_global = "./global.php";//无需更改,更改时,其它文件多处地方要作修改,相当麻烦
- $T_holder = "./manager";//重要文件容器
- $T_zipdir = "./manager/upload";//压缩文件缓存路径
- #以下为核心文件列表,供删除移动检查所需,防止不经意更改,导致系统崩溃
- #
- $T_admin = $T_holder."/include";
- $T_tempdir = $T_holder."/upload";//因为上传文件到根目录时,会出现问题,所以采用先上传到这个文件夹再复制到目标文件夹
- $T_Recycled = $T_holder."/recycled";//回收站位置
- $T_template = $T_holder."/template";
- $T_data = $T_holder."/data";
- $T_login = $T_template."/login.html";
- $T_index = $T_template."/index.html";
- $T_edit = $T_template."/edit.html";
- $T_function = $T_admin."/function.php";
- $T_language = $T_admin."/zh.lang.php";
- $T_setup = $T_admin."/setup.php";
- $T_passport = $T_admin."/passport.php";
- $T_newfile = $T_admin."/new.txt";//防止创建文件出现问题,采用复制文件的方式,
- $T_jscript = $T_data."/function.js";
- $T_style = $T_data."/style.css";//此文件要与目录下面icon在相同目录下
- $T_images = $T_data."/icon";
- $T_corefile = array($T_holder,$T_admin,$T_tempdir,$T_Recycled,$T_template,$T_data,
- $T_global,$T_task,$T_main,$T_login,$T_index,$T_edit,$T_function,$T_language,
- $T_setup,$T_passport,$T_newfile,$T_jscript,$T_style,$T_images);//核心文件
- ?>