-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy paththink
26 lines (19 loc) · 902 Bytes
/
think
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env php
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: yunwuxin <448901948@qq.com>
// +----------------------------------------------------------------------
// 定义项目路径
define('SITE_HOST',true);
define('BAIDU',false);
define('APP_PATH', __DIR__ . '/app/');
define('PUBLIC_PATH', __DIR__ . '/public/');
define('VENDOR_PATH',__DIR__ . '/system/vendor/');
// 加载框架引导文件
require __DIR__.'/system/thinkphp/console.php';