.html.log Logfiles opvragen bij zippen ook automatisch hernoemen naar .html

svn path=/Website/branches/v2018.2/; revision=40777
This commit is contained in:
Jos Groot Lipman
2019-02-04 09:57:39 +00:00
parent c6ca27d040
commit 5debe3bb8a

View File

@@ -724,6 +724,8 @@ function StreamFile(filePath, filename, mime, pcontentdp)
}
if (zipit)
{
if (mime == "text/html") // Handig voor logfiles
filename = filename.replace(/\.html\.log$/, ".html");
zipfile(safefullpath, filename);
}
pcontentdp = pcontentdp || "attachment";