Fix double dot in sql filename

This commit is contained in:
Laurent Destailleur 2018-11-15 10:59:55 +01:00
parent 9447e66da1
commit 3ca45e0e40

View File

@ -210,7 +210,7 @@ class Utils
if ($file == 'auto')
{
$prefix='dump';
$ext='.sql';
$ext='sql';
if (in_array($type, array('mysql', 'mysqli'))) { $prefix='mysqldump'; $ext='sql'; }
//if ($label == 'PostgreSQL') { $prefix='pg_dump'; $ext='dump'; }
if (in_array($type, array('pgsql'))) { $prefix='pg_dump'; $ext='sql'; }