diff --git a/classes/template/PKPTemplateManager.php b/classes/template/PKPTemplateManager.php index a1161ab081e..4a1af9ff817 100644 --- a/classes/template/PKPTemplateManager.php +++ b/classes/template/PKPTemplateManager.php @@ -1316,6 +1316,7 @@ public function display($template = null, $cache_id = null, $compile_id = null, $context = $request->getContext(); $pageContext = [ + 'app' => Application::get()->getName(), 'apiBaseUrl' => $dispatcher->url($request, PKPApplication::ROUTE_API, $context?->getPath() ?: Application::SITE_CONTEXT_PATH), 'pageBaseUrl' => $dispatcher->url($request, PKPApplication::ROUTE_PAGE, $context?->getPath() ?: Application::SITE_CONTEXT_PATH) . '/', 'legacyGridBaseUrl' => $dispatcher->url(