Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Added exit after backup file reading to avoid html rendering after dump

givanz07a495f3fe74
diff --git a/admin/controller/tools/backup.php b/admin/controller/tools/backup.php
index 38dc83b..15cfc33 100755
--- a/admin/controller/tools/backup.php
+++ b/admin/controller/tools/backup.php
@@ -317,6 +317,8 @@ class Backup extends Base {
header('Content-Disposition: attachment; filename="' . $filename . '"');
fpassthru($fp);
+
+ exit(0);
} else {
$this->view->errors[] = __('Backup does not exist!');
}