aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2022-01-20 18:02:37 +0100
committerGitHub <noreply@github.com>2022-01-20 18:02:37 +0100
commit7f7980f35cdd40d113083d8cceb95e6c7613b004 (patch)
tree28c2a0392747c38ac2902f694309e7ea5bb208e0 /core
parentff809410f8e9d7ea313b0d3fc8e47460da40b8ef (diff)
parentc0b6b78674565701df298332fc9541cc217aa72a (diff)
downloadnextcloud-server-7f7980f35cdd40d113083d8cceb95e6c7613b004.tar.gz
nextcloud-server-7f7980f35cdd40d113083d8cceb95e6c7613b004.zip
Merge pull request #30770 from nextcloud/enh/logo-link-target-config
Allow changing the top-left logo link target in config.php
Diffstat (limited to 'core')
-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">