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 | |
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
-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 |