Bug m_log

This commit is contained in:
Alan Garcia 2012-08-26 18:26:53 +00:00
parent c03fa7f543
commit 92b5341514
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class m_log {
function download_link($file){ function download_link($file){
global $err,$mem; global $err,$mem;
$err->log("log","download_link"); $err->log("log","download_link");
header("Content-Disposition: attachment; filename=".$mem->user["login"].".zip"); // FIXME: keep the original name file header("Content-Disposition: attachment; filename=$file");
header("Content-Type: application/force-download"); header("Content-Type: application/force-download");
header("Content-Transfer-Encoding: binary"); header("Content-Transfer-Encoding: binary");
$f=$this->get_logs_directory(); $f=$this->get_logs_directory();