Fix #3030: Add upload the sqlite database feature

This commit is contained in:
Konstantin Vorobyev
2017-02-15 17:38:48 +09:00
parent 5376bb9e0c
commit 6e9de547c0
4 changed files with 61 additions and 0 deletions

View File

@@ -68,6 +68,9 @@
<?= $this->url->link(t('Download the database'), 'ConfigController', 'downloadDb', array(), true) ?>&nbsp;
<?= t('(Gzip compressed Sqlite file)') ?>
</li>
<li>
<?= $this->url->link(t('Upload the database'), 'ConfigController', 'uploadDb', array(), false, 'js-modal-medium') ?>
</li>
<li>
<?= $this->url->link(t('Optimize the database'), 'ConfigController', 'optimizeDb', array(), true) ?>&nbsp;
<?= t('(VACUUM command)') ?>