Use low level env init on migrate:run + migrate:to

This commit is contained in:
slawkens
2025-10-24 21:10:55 +02:00
parent 598cec2fe4
commit 13ea68cc0c
4 changed files with 43 additions and 29 deletions

4
aac
View File

@@ -25,7 +25,9 @@ foreach ($commandsGlob as $item) {
}
$commandPre = '\\MyAAC\Commands\\';
$application->add(new ($commandPre . $name));
if (!trait_exists($class = $commandPre . $name)) {
$application->add(new $class);
}
}
$pluginCommands = Plugins::getCommands();