1 Star 0 Fork 0

YaQiang Zhang/framework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.php 430 Bytes
一键复制 编辑 原始数据 按行查看 历史
韩天峰 提交于 10年前 . 小修改
<?php
define('DEBUG', 'on');
//必须设置此目录,PHP程序的根目录
define('WEBPATH', __DIR__);
define('WEBROOT', 'http://local.framework.com');
//包含框架入口文件
require __DIR__ . '/libs/lib_config.php';
//开发环境的配置,如果此目录有配置文件,会优先选择
if (get_cfg_var('env.name') == 'dev')
{
Swoole::$php->config->setPath(WEBPATH . '/apps/configs/dev/');
}
Swoole::$php->runMVC();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/bfsoft/swoole_framework.git
git@gitee.com:bfsoft/swoole_framework.git
bfsoft
swoole_framework
framework
1.11.2

搜索帮助