Bug m_log
This commit is contained in:
parent
c03fa7f543
commit
92b5341514
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue