1 Star 0 Fork 86

符凯耀 / framework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.php 470 Bytes
一键复制 编辑 原始数据 按行查看 历史
韩天峰 提交于 2017-01-14 13:21 . 增加find_in_set支持
<?php
define('DEBUG', 'on');
//必须设置此目录,PHP程序的根目录
define('WEBPATH', __DIR__);
define('WEBROOT', 'http://local.framework.com');
require __DIR__.'/vendor/autoload.php';
//包含框架入口文件
require __DIR__ . '/libs/lib_config.php';
//开发环境的配置,如果此目录有配置文件,会优先选择
if (get_cfg_var('env.name') == 'dev')
{
Swoole::$php->config->setPath(WEBPATH . '/apps/configs/dev/');
}
Swoole::$php->runMVC();
PHP
1
https://gitee.com/fu_kai_yao/swoole_framework.git
git@gitee.com:fu_kai_yao/swoole_framework.git
fu_kai_yao
swoole_framework
framework
master

搜索帮助