Vergleich admin/modules/tools/backupdb.php - 1.8.31 - 1.8.38
Zeile 100 | Zeile 100 |
---|---|
} |
} |
$ext = get_extension($file); | |
if(!trim($mybb->input['file']) || !file_exists(MYBB_ADMIN_DIR.'backups/'.$file)) | if(!trim($mybb->input['file']) || !file_exists(MYBB_ADMIN_DIR.'backups/'.$file) || filetype(MYBB_ADMIN_DIR.'backups/'.$file) != 'file' || ($ext != 'gz' && $ext != 'sql')) |
{ | { |