Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pablo Rauzy
cigala
Commits
24ea08a2
Commit
24ea08a2
authored
Mar 13, 2021
by
Pablo Rauzy
Browse files
add db in zip backup
parent
287a0ecb
Changes
1
Hide whitespace changes
Inline
Side-by-side
root/cigala.php
View file @
24ea08a2
...
...
@@ -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'
);
$zip
->
close
();
if
(
count
(
$messages
)
>
0
)
{
inform
(
$messages
,
'actions'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment