2 Star 0 Fork 1

Administrator/tp6-cool-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.php 1008 Bytes
一键复制 编辑 原始数据 按行查看 历史
梦℃Style 提交于 2020-03-16 17:15 . add
<?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 <[email protected]>
// +----------------------------------------------------------------------
// [ 应用入口文件 ]
namespace think;
if (!defined('__PUBLIC__')) {
$_public = rtrim(dirname(rtrim($_SERVER['SCRIPT_NAME'], '/')), '/');
define('__PUBLIC__', (('/' == $_public || '\\' == $_public) ? '' : $_public).'/public');
}
require __DIR__ . '/vendor/autoload.php';
// 执行HTTP应用并响应
$http = (new App())->http;
$response = $http->run();
$response->send();
$http->end($response);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/caiyilin/tp6-cool-admin.git
[email protected]:caiyilin/tp6-cool-admin.git
caiyilin
tp6-cool-admin
tp6-cool-admin
master

搜索帮助