335 Star 981 Fork 317

rainfer / yfcmf

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
index.php 841 Bytes
Copy Edit Web IDE Raw Blame History
rainfer authored 2018-05-23 22:37 . 代码PSR2规范
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// [ 应用入口文件 ]
namespace think;
// 定义应用目录
define('APP_PATH', __DIR__ . '/app/');
// 加载基础文件
require __DIR__ . '/thinkphp/base.php';
// 执行应用并响应
Container::get('app')->path(APP_PATH)->run()->send();

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/rainfer/YFCMF.git
git@gitee.com:rainfer/YFCMF.git
rainfer
YFCMF
yfcmf
v3

Search