mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修正import方法加载extend目录类库
This commit is contained in:
@@ -322,7 +322,7 @@ class Loader
|
|||||||
//加载当前模块应用类库
|
//加载当前模块应用类库
|
||||||
$baseUrl = App::$modulePath;
|
$baseUrl = App::$modulePath;
|
||||||
} elseif (is_dir(EXTEND_PATH . $name)) {
|
} elseif (is_dir(EXTEND_PATH . $name)) {
|
||||||
$baseUrl = EXTEND_PATH;
|
$baseUrl = EXTEND_PATH . $name . DS;
|
||||||
} else {
|
} else {
|
||||||
// 加载其它模块的类库
|
// 加载其它模块的类库
|
||||||
$baseUrl = APP_PATH . $name . DS;
|
$baseUrl = APP_PATH . $name . DS;
|
||||||
|
|||||||
Reference in New Issue
Block a user