1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

MySQL backup - automatically add '.gz' to the filename when gZip is enabled.

This commit is contained in:
Cameron
2019-01-28 18:24:11 -08:00
parent 6d75ea2145
commit 7e5fe2eaad

View File

@@ -2747,6 +2747,11 @@ class e_db_mysql
$tableList = explode(",",$table);
}
if(!empty($options['gzip']))
{
$backupFile .= '.gz';
}
include_once(dirname(__FILE__) . '/Ifsnop/Mysqldump/Mysqldump.php');