mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[问题]修复Node读取部分丢失的BUG
This commit is contained in:
parent
d7f0ce3408
commit
5a41a72611
@ -62,7 +62,7 @@ class Node {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$_tmp = explode(DS, $vo);
|
$_tmp = explode(DS, $vo);
|
||||||
$controllerName = rtrim(array_pop($_tmp), '.php');
|
$controllerName = preg_replace('|\.php$|', '', array_pop($_tmp));
|
||||||
array_pop($_tmp);
|
array_pop($_tmp);
|
||||||
$moduleName = array_pop($_tmp);
|
$moduleName = array_pop($_tmp);
|
||||||
$className = config('app_namespace') . "\\{$moduleName}\\controller\\{$controllerName}";
|
$className = config('app_namespace') . "\\{$moduleName}\\controller\\{$controllerName}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user