Prepare for embedded mode

This commit is contained in:
Bernd Bestel
2018-07-18 19:07:00 +02:00
parent 3131b8965e
commit 3afeb44b1d
3 changed files with 12 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ class BaseController
$versionInfo = $applicationService->GetInstalledVersion();
$container->view->set('version', $versionInfo->Version);
$container->view->set('releaseDate', $versionInfo->ReleaseDate);
$container->view->set('isEmbeddedInstallation', $applicationService->IsEmbeddedInstallation());
$container->view->set('localizationStrings', $localizationService->GetCurrentCultureLocalizations());
$container->view->set('L', function($text, ...$placeholderValues) use($localizationService)