diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Console/Application.php | 1 | ||||
-rw-r--r-- | lib/private/TemplateLayout.php | 9 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/Console/Application.php b/lib/private/Console/Application.php index 2b48f9f5ada..07e9dbb317b 100644 --- a/lib/private/Console/Application.php +++ b/lib/private/Console/Application.php @@ -49,6 +49,7 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface; class Application { /** @var IConfig */ private $config; + private SymfonyApplication $application; /** @var EventDispatcherInterface */ private $dispatcher; /** @var IRequest */ diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 178bec9c8dc..aa1ee203f31 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -120,6 +120,10 @@ class TemplateLayout extends \OC_Template { $this->assign('enabledThemes', $themesService->getEnabledThemes()); } + // set logo link target + $logoUrl = $this->config->getSystemValueString('logo_url', ''); + $this->assign('logoUrl', $logoUrl); + // Add navigation entry $this->assign('application', ''); $this->assign('appid', $appId); @@ -190,11 +194,6 @@ class TemplateLayout extends \OC_Template { } else { parent::__construct('core', 'layout.base'); } - - // set logo link target - $logoUrl = $this->config->getSystemValueString('logo_url', ''); - $this->assign('logoUrl', $logoUrl); - // Send the language and the locale to our layouts $lang = \OC::$server->getL10NFactory()->findLanguage(); $locale = \OC::$server->getL10NFactory()->findLocale($lang); |