nk-lihaink-cn/public/index.php
2021-01-30 20:59:12 +08:00

37 lines
1.0 KiB
PHP

<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2019 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// [ 应用入口文件 ]
namespace think;
require __DIR__ . '/../vendor/autoload.php';
// 定义当前版本号
define('CMS_VERSION','1.1.0');
// 定义Layui版本号
define('TP_VERSION','6.0.5');
// 定义Layui版本号
define('LAYUI_VERSION','2.4.7');
// 定义项目目录
define('CMS_ROOT', __DIR__ . '/../');
// 执行HTTP应用并响应
$http = (new App())->http;
$response = $http->run();
$response->send();
$http->end($response);