diff --git a/scripts/pi-hole/php/teleporter.php b/scripts/pi-hole/php/teleporter.php index fb58eef4..a86e3e22 100644 --- a/scripts/pi-hole/php/teleporter.php +++ b/scripts/pi-hole/php/teleporter.php @@ -77,7 +77,7 @@ if($_POST["action"] == "in") $continue = strtolower($name[1]) == 'zip' ? true : false; if(!$continue || !$okay) { - die("The file you are trying to upload is not a .zip file. Please try again."); + die("The file you are trying to upload is not a .zip file (filename: ".$filename.", type: ".$type."). Please try again."); } $zip = new ZipArchive();