mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 02:49:03 +08:00
29 lines
963 B
PHP
29 lines
963 B
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed ( https://opensource.org/licenses/mit-license.php )
|
|
// +----------------------------------------------------------------------
|
|
// | Author: Devil
|
|
// +----------------------------------------------------------------------
|
|
|
|
// [ 后台入口文件 ]
|
|
namespace think;
|
|
|
|
// 根目录入口
|
|
define('IS_ROOT_ACCESS', true);
|
|
|
|
// 引入公共入口文件
|
|
require __DIR__.'/public/core.php';
|
|
|
|
// 加载基础文件
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
// 执行HTTP应用并响应
|
|
$http = (new App())->http;
|
|
$response = $http->name('admin')->run();
|
|
$response->send();
|
|
$http->end($response);
|
|
?>
|