-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
30 lines (25 loc) · 1.03 KB
/
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
26
27
28
29
30
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http:https://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http:https://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <[email protected]>
// +----------------------------------------------------------------------
// [ 应用入口文件 ]
/*
// 定义应用目录
define('APP_PATH', __DIR__ . '/../application/');
// 加载框架引导文件
require __DIR__ . '/../thinkphp/start.php';
// 绑定到index模块
//定义常量
define('SITE_URL','http:https://localhost:8004/public');
*/
// 定义应用目录
define('EXTEND_PATH', __DIR__ . '../extend/');
define('APP_PATH', __DIR__ . '/../application/');
// 加载框架引导文件
require __DIR__ . '/../thinkphp/start.php';