26 lines
894 B
PHP
26 lines
894 B
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
|
// +----------------------------------------------------------------------
|
|
// | Author: liu21st <liu21st@gmail.com>
|
|
// +----------------------------------------------------------------------
|
|
|
|
namespace think;
|
|
// 1. 加载基础文件
|
|
require __DIR__ . '/base.php';
|
|
|
|
global $_GPC;
|
|
|
|
|
|
defined('MODULE_NAME') or define('MODULE_NAME',$_GPC['m']);
|
|
|
|
|
|
App::run()->send();
|
|
// 执行应用并响应
|
|
//App::run()->path(dirname(__DIR__) . '/application/')->bind("{$mod}/{$opt}/{$act}")->run()->send();
|
|
|