From 771c548a7f5a85cc92f3271a9afa43f177d8197a Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 27 Jan 2017 22:11:02 +0100 Subject: [PATCH] Renamed zip file --- scripts/pi-hole/php/teleporter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pi-hole/php/teleporter.php b/scripts/pi-hole/php/teleporter.php index 5005e770..fb58eef4 100644 --- a/scripts/pi-hole/php/teleporter.php +++ b/scripts/pi-hole/php/teleporter.php @@ -117,7 +117,7 @@ if($_POST["action"] == "in") } else { - $archive_file_name = "/var/www/html/pi-hole-takeout_".microtime(true).".zip"; + $archive_file_name = "/var/www/html/pi-hole-teleporter_".microtime(true).".zip"; $zip = new ZipArchive(); touch($archive_file_name); $res = $zip->open($archive_file_name, ZipArchive::CREATE | ZipArchive::OVERWRITE); @@ -136,7 +136,7 @@ else header("Content-type: application/zip"); header('Content-Transfer-Encoding: binary'); - header("Content-Disposition: attachment; filename=pi-hole-takeout.zip"); + header("Content-Disposition: attachment; filename=pi-hole-teleporter.zip"); header("Content-length: " . filesize($archive_file_name)); header("Pragma: no-cache"); header("Expires: 0");