13 Star 24 Fork 5

假装我很忙 / Slob

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.php 586 Bytes
一键复制 编辑 原始数据 按行查看 历史
xiangdong 提交于 2017-06-13 11:42 . 1.使用composer 就行依赖管理
<?php
define('DEBUG', 'on');
//必须设置此目录,PHP程序的根目录
define('WEBPATH', __DIR__);
define('WEBROOT', 'http://slob.com');
define('ASSETS', __DIR__ . "/vendor/dwzteam/dwz_jui");
//包含框架入口文件
require __DIR__ . '/vendor/matyhtf/swoole_framework/libs/lib_config.php';
require __DIR__ . '/apps/classes/common.php';
ini_set("error_log", __DIR__ . "/logs/php_error.log");
//开发环境的配置,如果此目录有配置文件,会优先选择
if (get_cfg_var('env.name') == 'local') {
Swoole::$php->config->setPath(WEBPATH . '/apps/configs/dev/');
}
PHP
1
https://gitee.com/Tiamo/Slob.git
git@gitee.com:Tiamo/Slob.git
Tiamo
Slob
Slob
master

搜索帮助