forked from fudaoji/KyPHP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefine.php
25 lines (23 loc) · 976 Bytes
/
define.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
// +----------------------------------------------------------------------
// | [KyPHP System] Copyright (c) 2020 http://www.kuryun.com/
// +----------------------------------------------------------------------
// | [KyPHP] 并不是自由软件,你可免费使用,未经许可不能去掉KyPHP相关版权
// +----------------------------------------------------------------------
// | Author: fudaoji <[email protected]>
// +----------------------------------------------------------------------
/**
* Created by PhpStorm.
* Script Name: define.php
* Create: 2020/5/19 下午11:04
* Description: 常量定义
* Author: fudaoji<[email protected]>
*/
define('ROOT_PATH', __DIR__.'/');
define('ADDON_PATH', ROOT_PATH . 'addons/');
define('MINIAPP_PATH', ROOT_PATH . 'miniapp/');
define('ADDON_ROUTE','/app/');
define('ENTR_PATH','');
define('RUNTIME_PATH', ROOT_PATH . 'runtime/');
define('UPLOAD_PATH', ROOT_PATH . 'public/uploads/');
define('DS', DIRECTORY_SEPARATOR);