修改catchadmin根目录

This commit is contained in:
JaguarJack
2020-07-11 15:52:30 +08:00
parent e17846571c
commit bcdf6cd9c7
2 changed files with 4 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ class CreateModuleCommand extends Command
$psr4 = $composer['autoload']['psr-4'];
foreach ($psr4 as $namespace => $des) {
if ($des === CatchAdmin::NAME) {
if ($des === CatchAdmin::$root) {
$this->namespaces = $namespace . $this->module . '\\';
break;
}