2
0

cms.parametres-download-backup-zip.php 272 B

12345678
  1. <?php
  2. if(core::ifPost("from")){
  3. header('Content-type: application/octet-stream;');
  4. header('Content-Transfer-Encoding: base64');
  5. header('Content-Disposition: attachment; filename="'.core::getPost("file").'"');
  6. readfile(DIR_BACKUP.core::getPost("file"));
  7. }