ThinkAdmin/public/index.php
邹景立 e051c1405a style(注释): 统一入口和微信模块的文件头
背景与目的:应用同步组件后仍有旧行注释文件头及带多余斜线的 PHPDoc 头,需要统一到 CS-Fixer 的文件头模板。

主要改动:清理微信模块重复头,统一 HTTP 与命令行入口的 ThinkAdmin 标题、版权年份、仓库及会员说明。

影响范围与兼容性:仅调整文件头注释和相邻空行,不改变业务逻辑及权限注解。

验证入口及实际结果:最终文件与开发仓库对应组件一致;PHP 语法与差异检查通过,暂存差异已与审核内容核对。本次未运行完整 CS-Fixer 规则。
2026-10-19 09:35:17 +08:00

27 lines
1.1 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
declare(strict_types=1);
/**
* +----------------------------------------------------------------------
* | ThinkAdmin Plugin for ThinkAdmin
* +----------------------------------------------------------------------
* | 版权所有 2014~2026 ThinkAdmin [ thinkadmin.top ]
* +----------------------------------------------------------------------
* | 官方网站: https://thinkadmin.top
* +----------------------------------------------------------------------
* | 开源协议 ( https://mit-license.org )
* | 免责声明 ( https://thinkadmin.top/disclaimer )
* | 会员特权 ( https://thinkadmin.top/vip-introduce )
* +----------------------------------------------------------------------
* | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
* | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
* +----------------------------------------------------------------------
*/
use think\admin\service\RuntimeService;
// 加载基础文件
require __DIR__ . '/../vendor/autoload.php';
// WEB应用初始化
RuntimeService::doWebsiteInit();