1 Star 1 Fork 93

孙海洋 / framework

forked from swoole / framework 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
index.php 470 Bytes
Copy Edit Web IDE Raw Blame History
韩天峰 authored 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();

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/haiyang.sun/swoole_framework.git
git@gitee.com:haiyang.sun/swoole_framework.git
haiyang.sun
swoole_framework
framework
master

Search