diff options
Diffstat (limited to 'template-logfiles-download-html.lsp')
-rw-r--r-- | template-logfiles-download-html.lsp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/template-logfiles-download-html.lsp b/template-logfiles-download-html.lsp deleted file mode 100644 index f73af33..0000000 --- a/template-logfiles-download-html.lsp +++ /dev/null @@ -1,19 +0,0 @@ -<? local viewtable, viewlibrary, pageinfo, session = ... - html=require("html") ?> -Status: 200 OK -Content-Type: application/octet-stream -Content-Disposition: attachment; filename="<?= viewtable.logfile.name ?>" -<? if (session.id) then - io.write( html.cookie.set("sessionid", session.id) ) - else - io.write (html.cookie.unset("sessionid")) - end - - - -- headers separated by a blank line - io.write ("\n") - - local func = haserl.loadfile(viewtable.logfile.value) - func (viewtable) - - ?> |