diff options
author | Mika Havela <mika.havela@gmail.com> | 2007-11-16 17:06:43 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2007-11-16 17:06:43 +0000 |
commit | b6bfaaa5d2cfe33e2ff417c9d101ac35ffd6d0e2 (patch) | |
tree | fd569ac6f0dd100a63f64e7d97674409779e966d /template-logfiles-download-html.lsp | |
parent | 13fb9b678fa632a5c37852510d850ce01a4ef737 (diff) | |
download | acf-alpine-baselayout-b6bfaaa5d2cfe33e2ff417c9d101ac35ffd6d0e2.tar.bz2 acf-alpine-baselayout-b6bfaaa5d2cfe33e2ff417c9d101ac35ffd6d0e2.tar.xz |
Downloading file works
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@325 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'template-logfiles-download-html.lsp')
-rw-r--r-- | template-logfiles-download-html.lsp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |