From b4564d61a6356ef7258f9baebe429a1ae6c98e7e Mon Sep 17 00:00:00 2001 From: Dave MacFarlane Date: Mon, 19 Dec 2022 15:30:13 -0500 Subject: [PATCH] more explicit registerAutoloader --- src/Router/BaseRouter.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Router/BaseRouter.php b/src/Router/BaseRouter.php index c55a861d529..a676cbed9fe 100644 --- a/src/Router/BaseRouter.php +++ b/src/Router/BaseRouter.php @@ -139,7 +139,9 @@ public function handle(ServerRequestInterface $request) : ResponseInterface ->withAttribute("baseurl", $baseurl->__toString()) ->withAttribute("CandID", $components[0]); $module = $this->lorisinstance->getModule("timepoint_list"); - $mr = new ModuleRouter($module); + $module->registerAutoloader(); + + $mr = new ModuleRouter($module); return $ehandler->process($request, $mr); } }