1 Star 2 Fork 2

JIANGWL / DeleteWeiboTool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
common.php 872 Bytes
一键复制 编辑 原始数据 按行查看 历史
<?php
/**
* Created by PhpStorm.
* User: William
* Date: 2016/9/12
* Time: 17:52
*/
//不超时
set_time_limit(0);
require_once('Config/config.php');
require_once('Config/database.php');
if($config['debug']===TRUE) {
error_reporting(E_ALL);
ini_set('display_errors', '1');
}
//根目录
define('BASEPATH', !empty($config['base_path']) ? $config['base_path'] : str_replace('\\', '/', realpath(dirname(__FILE__) . '/')) . "/");
//根目录
define('BASEURL', !empty($config['base_url']) ? $config['base_url'] : '/');
//cookie路径
define('COOKIEPATH', BASEPATH . (!empty($config['cookie_path']) ? $config['cookie_path'] : 'cache/cookie/'));
require_once(BASEPATH . 'global.php');
require_once(BASEPATH . 'Loader.php');
require_once(BASEPATH . 'Factory.php');
require_once(BASEPATH . 'functions.php');
//新建loader
Factory::setLoader(new Loader($config));
PHP
1
https://gitee.com/JIANGWL/DeleteWeiboTool.git
git@gitee.com:JIANGWL/DeleteWeiboTool.git
JIANGWL
DeleteWeiboTool
DeleteWeiboTool
master

搜索帮助