- admin: 路由守卫修复空白页、addRoute、devServer 端口与代理 - admin: package.json 生产构建去掉 NODE_OPTIONS openssl - ajcaptcha: 滑块验证码改用 file 缓存避免 Redis NOAUTH - nginx-crmeb: 增加 81 端口站点 - docs: deploy 补充 NOAUTH/Redis 说明,新增 H5 部署脚本与 nginx 示例 - 其他: database、start-api、swoole ini、uniapp 资源等 Made-with: Cursor
28 lines
988 B
PHP
28 lines
988 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;
|
|
|
|
define('DS', DIRECTORY_SEPARATOR);
|
|
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
// 显式指定应用根目录,确保 .env 正确加载(避免 getDefaultRootPath 返回上级目录)
|
|
$rootPath = dirname(__DIR__) . DIRECTORY_SEPARATOR;
|
|
$http = (new App($rootPath))->http;
|
|
|
|
$response = $http->run();
|
|
|
|
$response->send();
|
|
|
|
$http->end($response);
|