mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 02:34:44 +00:00
Prepare for embedded mode
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user