summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-08 15:10:53 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-05-08 15:10:53 +0200
commit26f7a3b462b927a66d5f7875dd47e0970c0668f6 (patch)
treed1d61d84c7de03165a73f01c3482eb47fb6738eb /core/templates
parent6acae94a021a6e961a00fe2c33e5468461e65893 (diff)
downloadnextcloud-server-26f7a3b462b927a66d5f7875dd47e0970c0668f6.tar.gz
nextcloud-server-26f7a3b462b927a66d5f7875dd47e0970c0668f6.zip
Check if Nextcloud is installed
Fixes https://github.com/nextcloud/server/issues/4735 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.guest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 1f38aaef5f9..2c2373d53aa 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -40,7 +40,8 @@
<h1 class="hidden-visually">
<?php p($theme->getName()); ?>
</h1>
- <?php if(\OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?>
+ <?php if(\OC::$server->getConfig()->getSystemValue('installed', false)
+ && \OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?>
<img src="<?php p($theme->getLogo()); ?>"/>
<?php endif; ?>
</div>