1 Star 0 Fork 9

cctvteam/火速云erp

forked from iQian2/火速云erp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
defines.php 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
靳邦龙- 提交于 2018-06-02 14:22 . no commit message
<?php
if(!defined('IN_IA')) {
exit('Access Denied');
}
if (is_file(__DIR__ . '/defines-local.php'))
{
require_once __DIR__ . '/defines-local.php';
}
!defined('MODEL_DEBUG') && define('MODEL_DEBUG',false);
!defined('MODEL_PATH') && define('MODEL_PATH',IA_ROOT.'/addons/'.MODEL_NAME.'/');
!defined('MODEL_CORE') && define('MODEL_CORE', MODEL_PATH .'core/');
!defined('MODEL_DATA') && define('MODEL_DATA', MODEL_PATH .'data/');
!defined('MODEL_VENDOR') && define('MODEL_VENDOR', MODEL_PATH .'vendor/');
!defined('MODEL_CORE_WEB') && define('MODEL_CORE_WEB', MODEL_CORE .'web/');
!defined('MODEL_CORE_API') && define('MODEL_CORE_API', MODEL_CORE .'api/');
!defined('MODEL_CORE_MOBILE') && define('MODEL_CORE_MOBILE', MODEL_CORE .'mobile/');
!defined('MODEL_CORE_SYSTEM') && define('MODEL_CORE_SYSTEM', MODEL_CORE .'system/');
!defined('MODEL_PLUGIN') && define('MODEL_PLUGIN',MODEL_PATH.'plugin/');
!defined('MODEL_PROCESSOR') && define('MODEL_PROCESSOR',MODEL_CORE.'processor/');
!defined('MODEL_INC') && define('MODEL_INC', MODEL_CORE.'inc/');
!defined('MODEL_URL') && define('MODEL_URL',$_W['siteroot'].'addons/'.MODEL_NAME.'/');
!defined('MODEL_TASK_URL') && define('MODEL_TASK_URL',$_W['siteroot'].'addons/'.MODEL_NAME.'/core/task/');
!defined('MODEL_LOCAL') && define('MODEL_LOCAL','../addons/'.MODEL_NAME.'/');
!defined('MODEL_STATIC') && define('MODEL_STATIC', MODEL_URL.'static/');
!defined('MODEL_PREFIX') && define('MODEL_PREFIX',MODEL_NAME);
!defined('MODEL_AUTH_URL') && define('MODEL_AUTH_URL','https://mp.weixin.qq.com/');
define('MODEL_PLACEHOLDER','../addons/'.MODEL_NAME.'/static/images/placeholder.png');
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/cctvteam/hs_erp.git
git@gitee.com:cctvteam/hs_erp.git
cctvteam
hs_erp
火速云erp
master

搜索帮助