summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <Raydiation@users.noreply.github.com>2015-02-05 13:07:56 +0100
committerBernhard Posselt <Raydiation@users.noreply.github.com>2015-02-05 13:07:56 +0100
commit7a9d428d6f6146d44883e2c5bab04db702792ce4 (patch)
treed0a76ac205a9caf8ae62d320f09fe53f114306e0
parent59f54822f054598c8ed331902635ed2650eb6b50 (diff)
parentf86c73c9f605db4fe77060fd89e23d412c5e4c77 (diff)
downloadnextcloud-server-7a9d428d6f6146d44883e2c5bab04db702792ce4.tar.gz
nextcloud-server-7a9d428d6f6146d44883e2c5bab04db702792ce4.zip
Merge pull request #13907 from owncloud/enhance-sqlite-warning
enhance sqlite warning on admin page as well as during setup
-rw-r--r--core/templates/installation.php7
-rw-r--r--settings/templates/admin.php14
2 files changed, 18 insertions, 3 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 0b3b0d46c5c..e5e191e8978 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -154,7 +154,12 @@ script('core', [
<?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>
+ <fieldset id="sqliteInformation" class="warning">
+ <legend><?php p($l->t('Performance Warning'));?></legend>
+ <p><?php p($l->t('SQLite will be used as database.'));?></p>
+ <p><?php p($l->t('For larger installations we recommend to choose a different database backend.'));?></p>
+ <p><?php p($l->t('Especially when using desktop client for file syncing the use of sqlite is highly discouraged.')); ?></p>
+ </fieldset>
<?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>
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 65c6359e509..5a9bb852590 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -114,8 +114,18 @@ if ($_['databaseOverload']) {
<div class="section">
<h2><?php p($l->t('Database Performance Info'));?></h2>
- <p class="securitywarning">
- <?php p($l->t('SQLite is used as database. For larger installations we recommend to change this. To migrate to another database use the command line tool: \'occ db:convert-type\'')); ?>
+ <p>
+ <strong>
+ <?php p($l->t('SQLite is used as database. For larger installations we recommend to switch to a different database backend.')); ?>
+ </strong>
+ </p>
+ <p>
+ <strong>
+ <?php p($l->t('Especially when using desktop client for file syncing the use of sqlite is highly discouraged.')); ?>
+ </strong>
+ </p>
+ <p>
+ <?php p($l->t('To migrate to another database use the command line tool: \'occ db:convert-type\'')); ?>
</p>
</div>