2 Star 0 Fork 0

musicyinchao / chengjie

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
admin.php 1012 Bytes
一键复制 编辑 原始数据 按行查看 历史
musicyinchao 提交于 2016-09-17 13:49 . 最新daima
<?php
header("Content-type: text/html; charset=utf-8");
if(get_magic_quotes_gpc()){
function stripslashes_deep($value){
$value = is_array($value) ? array_map('stripslashes_deep',$value) : stripslashes($value);
return $value;
}
$_POST = array_map('stripslashes_deep',$_POST);
$_GET = array_map('stripslashes_deep',$_GET);
$_COOKIE = array_map('stripslashes_deep',$_COOKIE);
}
define('APP_NAME', 'cms'); //项目名称
define('APP_PATH','./cms/'); //项目目录
define('CONF_PATH','./conf/'); //配置文件地址
define('RUNTIME_PATH','./runtime/'); //缓存文件地址
define('TMPL_PATH','./tpl/'); //模板目录
define('APP_DEBUG',false); //开启DEBUG
define('MEMORY_LIMIT_ON',function_exists('memory_get_usage'));
$_GET['g'] = 'System';
$runtime = '~System_runtime.php';
define('RUNTIME_FILE',RUNTIME_PATH.$runtime);
if(!APP_DEBUG && is_file(RUNTIME_FILE)){
require RUNTIME_FILE;
}else{
define('THINK_PATH', dirname(__FILE__).'/core/');
require THINK_PATH.'Common/runtime.php';
}
?>
PHP
1
https://gitee.com/yinchaomusic/chengjie.git
git@gitee.com:yinchaomusic/chengjie.git
yinchaomusic
chengjie
chengjie
master

搜索帮助