Overview
Comment: | Download archive from restore list |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
c247073dfc7d66f664a4f2ba2fe3f0a8 |
User & Date: | bohwaz on 2021-04-25 16:46:12 |
Other Links: | manifest | tags |
Context
2021-04-26
| ||
00:22 | Implement ability to rename files and folders, fix [36ab243f6a] check-in: ea44f1b104 user: bohwaz tags: trunk, stable | |
2021-04-25
| ||
16:46 | Download archive from restore list check-in: c247073dfc user: bohwaz tags: trunk, stable | |
16:39 | Take advantage of VACUUM INTO and SQLite3::backup to create a backup check-in: 1e60143722 user: bohwaz tags: trunk, stable | |
Changes
Modified src/www/admin/config/backup/restore.php from [51150b8513] to [c5bad54374].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <?php namespace Garradin; require_once __DIR__ . '/../_inc.php'; $s = new Sauvegarde; $code = null; // error code $form->runIf('restore', function () use ($s) { if (!f('selected')) { throw new UserException('Aucune sauvegarde sélectionnée'); } $r = $s->restoreFromLocal(f('selected')); | > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <?php namespace Garradin; require_once __DIR__ . '/../_inc.php'; $s = new Sauvegarde; $code = null; // error code if (qg('download')) { $s->dump(qg('download')); exit; } $form->runIf('restore', function () use ($s) { if (!f('selected')) { throw new UserException('Aucune sauvegarde sélectionnée'); } $r = $s->restoreFromLocal(f('selected')); |
︙ | ︙ |