Update TLV Handling. Update index.php error output when no filename is provided. Update gitignore

Signed-off-by: Diederik de Groot <ddegroot@talon.nl>
This commit is contained in:
Diederik de Groot
2020-03-15 10:42:26 +01:00
parent 37f9c253dd
commit 2c86ea62e7
3 changed files with 12 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ function sendfile($file) {
}
}
if (!$request || empty($request) || !array_key_exists('filename',$request) || empty($request['filename'])) {
send_fallback_html("Empty request sent");
send_fallback_html("Empty 'filename' request sent");
exit();
}
try {
@@ -64,4 +64,4 @@ try {
} catch(Exception $e) {
send_fallback_html($e->getMessage());
}
?>
?>