2 Star 1 Fork 110

邵奇/DolphinPHP

forked from 黑白蓝/DolphinPHP 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
admin.php 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站:http://dolphinphp.com
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | 作者: 蔡伟明 <314013107@qq.com>
// +----------------------------------------------------------------------
// [ PHP版本检查 ]
header("Content-type: text/html; charset=utf-8");
if (version_compare(PHP_VERSION, '5.5', '<')) {
die('PHP版本过低,最少需要PHP5.5,请升级PHP版本!');
}
// [ 应用入口文件 ]
// 定义应用目录
define('APP_PATH', __DIR__ . '/application/');
// 检查是否安装
if(!is_file('./data/install.lock')){
define('BIND_MODULE', 'install');
}
// 定义入口为admin
define('ENTRANCE', 'admin');
// 加载框架引导文件
require './thinkphp/start.php';
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/phpboy/DolphinPHP.git
git@gitee.com:phpboy/DolphinPHP.git
phpboy
DolphinPHP
DolphinPHP
master

搜索帮助