Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-08 16:10:53 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-05-08 16:10:53 +0300
commit26f7a3b462b927a66d5f7875dd47e0970c0668f6 (patch)
treed1d61d84c7de03165a73f01c3482eb47fb6738eb /core
parent6acae94a021a6e961a00fe2c33e5468461e65893 (diff)
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')
-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>