修改注释

This commit is contained in:
Anyon 2022-02-10 13:47:43 +08:00
parent e72ab77bb3
commit b03cb6fc1d
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | ThinkAdmin // | ThinkAdmin
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | 版权所有 2014~2021 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | 官方网站: https://thinkadmin.top // | 官方网站: https://thinkadmin.top
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------

View File

@ -3,7 +3,7 @@
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | ThinkAdmin // | ThinkAdmin
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | 版权所有 2014~2021 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | 官方网站: https://thinkadmin.top // | 官方网站: https://thinkadmin.top
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
@ -14,9 +14,9 @@
// | github 代码仓库https://github.com/zoujingli/ThinkAdmin // | github 代码仓库https://github.com/zoujingli/ThinkAdmin
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SCRIPT_NAME"])) { if (is_file($_SERVER['DOCUMENT_ROOT'] . $_SERVER['SCRIPT_NAME'])) {
return false; return false;
} else { } else {
$_SERVER["SCRIPT_FILENAME"] = __DIR__ . '/index.php'; $_SERVER['SCRIPT_FILENAME'] = __DIR__ . '/index.php';
require __DIR__ . "/index.php"; require $_SERVER['SCRIPT_FILENAME'];
} }