Merge pull request #13907 from owncloud/enhance-sqlite-warning
enhance sqlite warning on admin page as well as during setup
This commit is contained in:
commit
7a9d428d6f
2 changed files with 18 additions and 3 deletions
|
@ -154,7 +154,12 @@ script('core', [
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?>
|
<?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 ?>
|
<?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>
|
<div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" data-finishing="<?php p($l->t( 'Finishing …' )); ?>" /></div>
|
||||||
|
|
|
@ -114,8 +114,18 @@ if ($_['databaseOverload']) {
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<h2><?php p($l->t('Database Performance Info'));?></h2>
|
<h2><?php p($l->t('Database Performance Info'));?></h2>
|
||||||
|
|
||||||
<p class="securitywarning">
|
<p>
|
||||||
<?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\'')); ?>
|
<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>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue