diff --git a/Controller/ApiController.php b/Controller/ApiController.php index a792924..7d8679d 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -719,6 +719,14 @@ final class ApiController extends Controller } } + if (\file_exists($path = __DIR__ . '/../../../Console/Routes.php')) { + \file_put_contents($path, 'app->moduleManager->getActiveModules(); foreach ($installedModules as $name => $module) { $this->app->moduleManager->reInit($name);