add migration, fix delete tmp document, update extend controllers i api

This commit is contained in:
iIronside
2022-01-11 00:20:54 +03:00
parent f077df791f
commit 77b5db56b7
10 changed files with 608 additions and 8 deletions

View File

@ -67,8 +67,8 @@ class DocumentService
// Расположение скачиваемого файла
header("Content-Disposition: attachment; filename=".$downloadFile);
// Прочитать файл
// Прочитать файл
readfile($downloadFile);
unlink($this->document);
unlink($this->file_title);
}
}