mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 02:49:03 +08:00
25 lines
908 B
PHP
25 lines
908 B
PHP
|
<?php
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Copyright (c) 2011~2019 http://shopxo.net All rights reserved.
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Author: Devil
|
||
|
// +----------------------------------------------------------------------
|
||
|
|
||
|
// [ 后台入口文件 ]
|
||
|
namespace think;
|
||
|
|
||
|
// 加载基础文件
|
||
|
require __DIR__ . '/../thinkphp/base.php';
|
||
|
|
||
|
// 支持事先使用静态方法设置Request对象和Config对象
|
||
|
|
||
|
// 引入公共入口文件
|
||
|
require __DIR__.'/core.php';
|
||
|
|
||
|
// 执行应用并响应
|
||
|
Container::get('app')->bind('admin')->run()->send();
|
||
|
?>
|