mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 21:41:36 +08:00
增加APP_MULTI_MODULE常量 用于设置是否多模块设计
This commit is contained in:
@@ -52,7 +52,7 @@ class Url
|
||||
if (!defined('BIND_CONTROLLER')) {
|
||||
$var['controller'] = !empty($path) ? array_pop($path) : CONTROLLER_NAME;
|
||||
}
|
||||
if (!defined('BIND_MODULE')) {
|
||||
if (APP_MULTI_MODULE && !defined('BIND_MODULE')) {
|
||||
if (!empty($path)) {
|
||||
$var['module'] = array_pop($path);
|
||||
} elseif (MODULE_NAME) {
|
||||
|
||||
Reference in New Issue
Block a user