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

This commit is contained in:
Klaus Leithoff 2010-01-19 15:25:53 +00:00
parent 54b74cb362
commit 5eea273319

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;