mirror of
https://github.com/pi-hole/web.git
synced 2026-05-08 09:39:05 +01:00
Give some more details on teleporter failure
This commit is contained in:
@@ -77,7 +77,7 @@ if($_POST["action"] == "in")
|
|||||||
|
|
||||||
$continue = strtolower($name[1]) == 'zip' ? true : false;
|
$continue = strtolower($name[1]) == 'zip' ? true : false;
|
||||||
if(!$continue || !$okay) {
|
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();
|
$zip = new ZipArchive();
|
||||||
|
|||||||
Reference in New Issue
Block a user