1 Star 0 Fork 543

哆来咪 / wemall

forked from einsqing / wemall 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.php 674 Bytes
一键复制 编辑 原始数据 按行查看 历史
einsqing 提交于 2015-04-07 16:14 . v3.3
<?php
if (ini_get('magic_quotes_gpc')) {
function stripslashesRecursive(array $array){
foreach ($array as $k => $v) {
if (is_string($v)){
$array[$k] = stripslashes($v);
} else if (is_array($v)){
$array[$k] = stripslashesRecursive($v);
}
}
return $array;
}
$_GET = stripslashesRecursive($_GET);
$_POST = stripslashesRecursive($_POST);
}
//ThinkPHP初始化
if (file_exists ( './Install/install.lock' )) {
define ( 'APP_NAME', 'Application' );
define( 'APP_SITE', getcwd());
define ( 'APP_PATH', APP_SITE.'/Application/' );
define ( 'APP_DEBUG', true );
require './Core/index.php';
}else{
header("location:./Install/index.php");
}
?>
1
https://gitee.com/dlm2015/wemall.git
git@gitee.com:dlm2015/wemall.git
dlm2015
wemall
wemall
master

搜索帮助