-
Notifications
You must be signed in to change notification settings - Fork 2
/
think
22 lines (21 loc) · 992 Bytes
/
think
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env php
<?php
// +----------------------------------------------------------------------
// | Tplay [ WE ONLY DO WHAT IS NECESSARY ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017 http://tplay.pengyichen.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 听雨 < 389625819@qq.com >
// +----------------------------------------------------------------------
// 定义项目路径
define('APP_PATH', __DIR__ . '/../app/');
// 定义版本号
define('TPLAY_VERSION', '1.3.2');
//重定义扩展类库目录
define('EXTEND_PATH', __DIR__ . '/../simport/extend/');
//重定义第三方类库目录
define('VENDOR_PATH', __DIR__ . '/../simport/vendor/');
// 加载框架引导文件
require __DIR__ . '/../simport/thinkphp/start.php';