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:
@@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user