only warn, for no ziparchive, if you want to backup files

This commit is contained in:
Klaus Leithoff 2010-01-19 15:27:30 +00:00
parent 0075e7f4cd
commit 30abf86181

View File

@ -694,7 +694,7 @@ class db_backup
// save files
if(!$zippresent) // save without files (why ever it works only right without '!'...)
{
echo '<center>'."No file backup, needs ZipArchive or disabled<br>".'</center>';
if ($this->backup_files) echo '<center>'."No file backup, needs ZipArchive or disabled<br>".'</center>';
fclose($f);
if (file_exists($name)) unlink($name);
return TRUE;