2018-12-28 18:58:37 +08:00
|
|
|
<?php
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
|
|
|
// +----------------------------------------------------------------------
|
2021-03-16 10:34:52 +08:00
|
|
|
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
|
2018-12-28 18:58:37 +08:00
|
|
|
// +----------------------------------------------------------------------
|
2021-03-16 10:34:52 +08:00
|
|
|
// | Licensed ( https://opensource.org/licenses/mit-license.php )
|
2018-12-28 18:58:37 +08:00
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
// | Author: Devil
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
2021-07-18 23:42:10 +08:00
|
|
|
// [ 前端入口文件 ]
|
2018-12-28 18:58:37 +08:00
|
|
|
namespace think;
|
|
|
|
|
|
|
|
// 引入公共入口文件
|
|
|
|
require __DIR__.'/core.php';
|
|
|
|
|
2021-07-22 15:47:45 +08:00
|
|
|
// 加载基础文件
|
|
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
|
2021-07-18 23:42:10 +08:00
|
|
|
// 执行HTTP应用并响应
|
|
|
|
$http = (new App())->http;
|
|
|
|
$response = $http->name('index')->run();
|
|
|
|
$response->send();
|
|
|
|
$http->end($response);
|
2018-12-28 18:58:37 +08:00
|
|
|
?>
|