fixed bug
This commit is contained in:
parent
49a4e56f48
commit
4271a70b16
@ -265,8 +265,8 @@ class CatchAdmin
|
||||
$routeFiles = [];
|
||||
foreach (self::getModulesDirectory() as $module) {
|
||||
$moduleInfo = self::getModuleInfo($module);
|
||||
$module = $moduleInfo['alias'] ?? '';
|
||||
if (!in_array($module, ['login']) && file_exists($module . 'route.php')) {
|
||||
$moduleAlias = $moduleInfo['alias'] ?? '';
|
||||
if (!in_array($moduleAlias, ['login']) && file_exists($module . 'route.php')) {
|
||||
$routeFiles[] = $module . 'route.php';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user