1 Star 0 Fork 959

yirenji / ThinkAdmin

forked from Anyon / ThinkAdmin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.php 981 Bytes
一键复制 编辑 原始数据 按行查看 历史
Anyon 提交于 2018-05-08 17:45 . [更新]修改入口think目录计算兼容
<?php
// +----------------------------------------------------------------------
// | ThinkAdmin
// +----------------------------------------------------------------------
// | 版权所有 2014~2017 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------
// | github开源项目:https://github.com/zoujingli/ThinkAdmin
// +----------------------------------------------------------------------
namespace think;
// 加载基础文件
require __DIR__ . '/thinkphp/base.php';
// think文件检查,防止TP目录计算异常
file_exists('think') || touch('think');
// 执行应用并响应
Container::get('app', [__DIR__ . '/application/'])->run()->send();
PHP
1
https://gitee.com/thinkphpbox/Think.Admin.git
git@gitee.com:thinkphpbox/Think.Admin.git
thinkphpbox
Think.Admin
ThinkAdmin
master

搜索帮助