add migration, fix delete tmp document, update extend controllers i api
This commit is contained in:
@ -67,8 +67,8 @@ class DocumentService
|
||||
// Расположение скачиваемого файла
|
||||
header("Content-Disposition: attachment; filename=".$downloadFile);
|
||||
|
||||
// Прочитать файл
|
||||
// Прочитать файл
|
||||
readfile($downloadFile);
|
||||
unlink($this->document);
|
||||
unlink($this->file_title);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user