add migration, fix delete tmp document, update extend controllers i api
This commit is contained in:
1 parent
f077df791f
commit
77b5db56b7
10 files changed
+608
-8
No files matched your search
@@ -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