aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2022-01-20 12:27:29 +0100
committerJulien Veyssier <eneiluj@posteo.net>2022-01-20 15:11:16 +0100
commitc0b6b78674565701df298332fc9541cc217aa72a (patch)
tree45b31da74c96301402eed1c34b711a1d679cd90d /core/templates
parenta9b098eed59f594f9c6531c172617cd740de167a (diff)
downloadnextcloud-server-c0b6b78674565701df298332fc9541cc217aa72a.tar.gz
nextcloud-server-c0b6b78674565701df298332fc9541cc217aa72a.zip
allow changing the top-left logo link target in system config
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 8bdb4811df9..c9ca4e23110 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -56,7 +56,7 @@ $getUserAvatar = static function (int $size) use ($_): string {
</div>
<header role="banner" id="header">
<div class="header-left">
- <a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
+ <a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>"
id="nextcloud">
<div class="logo logo-icon">
<h1 class="hidden-visually">