]> source.dussan.org Git - nextcloud-server.git/commitdiff
Check if Nextcloud is installed 4738/head
authorLukas Reschke <lukas@statuscode.ch>
Mon, 8 May 2017 13:10:53 +0000 (15:10 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Mon, 8 May 2017 13:10:53 +0000 (15:10 +0200)
Fixes https://github.com/nextcloud/server/issues/4735

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
core/templates/layout.guest.php

index 1f38aaef5f9be0c9018fd870bdbf1261aa884d12..2c2373d53aa2ce61ea4f636578feb46f143aa857 100644 (file)
@@ -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>