]> source.dussan.org Git - nextcloud-server.git/commitdiff
Hide SQLite information on setup when autoconfig is used
authorVincent Petry <pvince81@owncloud.com>
Mon, 20 Oct 2014 14:20:24 +0000 (16:20 +0200)
committerVincent Petry <pvince81@owncloud.com>
Mon, 20 Oct 2014 14:20:24 +0000 (16:20 +0200)
core/templates/installation.php

index b74d4caf107dfa28e47c1168854c0055b7e83219..9ef63dbfe8c88bb03127652416bd5966f71cee65 100644 (file)
                <?php endif; ?>
        <?php endif; ?>
 
+       <?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?>
        <p id="sqliteInformation" class="info"><?php p($l->t('SQLite will be used as database. For larger installations we recommend to change this.'));?></p>
+       <?php endif ?>
 
        <div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" data-finishing="<?php p($l->t( 'Finishing …' )); ?>" /></div>
 </form>