diff options
-rw-r--r-- | logfiles-download-html.lsp | 1 | ||||
-rw-r--r-- | template-logfiles-download-html.lsp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/logfiles-download-html.lsp b/logfiles-download-html.lsp index 2022858..1d3b6fc 100644 --- a/logfiles-download-html.lsp +++ b/logfiles-download-html.lsp @@ -1,3 +1,2 @@ <? local view = ... ?> -<?= view.logfile.name ?> <?= view.logfile.value ?> diff --git a/template-logfiles-download-html.lsp b/template-logfiles-download-html.lsp index a77f341..4ec6f5a 100644 --- a/template-logfiles-download-html.lsp +++ b/template-logfiles-download-html.lsp @@ -2,7 +2,7 @@ html=require("html") ?> Status: 200 OK Content-Type: application/octet-stream -Content-Disposition: attachment; filename="Mika-send-me-the-filename.txt" +Content-Disposition: attachment; filename="<?= viewtable.logfile.name ?>" <? if (session.id) then io.write( html.cookie.set("sessionid", session.id) ) else |