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:
@@ -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());
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user