Commit 24ea08a2 authored by Pablo Rauzy's avatar Pablo Rauzy
Browse files

add db in zip backup

parent 287a0ecb
......@@ -641,6 +641,7 @@ elseif (isset($_GET['zip'])) {
$messages[] = 'An error occurred while adding “'.$n.'” to the zip archive.';
$zip->addFile($settings['db'], 'cigala.db');
if (count($messages) > 0) {
inform($messages, 'actions');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment