forked from zoujingli/ThinkAdmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
25 lines (20 loc) · 1020 Bytes
/
index.php
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
<?php
// +----------------------------------------------------------------------
// | Think.Admin
// +----------------------------------------------------------------------
// | 版权所有 2014~2017 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://think.ctolog.com
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------
// | github开源项目:https://github.com/zoujingli/Think.Admin
// +----------------------------------------------------------------------
/* SESSION会话名称 */
session_name('s' . substr(md5(__FILE__), 0, 8));
/* 定义应用目录 */
define('APP_PATH', __DIR__ . '/application/');
/* 定义Runtime运行目录 */
define('RUNTIME_PATH', __DIR__ . '/runtime/');
/* 加载框架引导文件 */
require __DIR__ . '/thinkphp/start.php';