This commit is contained in:
CHIEFSOFT\ameye
2023-11-27 10:04:00 -05:00
parent 7010cd2d65
commit 66897a1782
+1 -1
View File
@@ -180,7 +180,7 @@ class WrenchMedia extends BaseController
$this->saveCache($endpoint,$out,10000);
}
log_message('critical', "AFTER CACHE*********");
if ($supportedSections[$fileSection] == WRENCH_FILE_CONTRACTS){
if ($supportedSections[$fileSection] == WRENCH_FILE_CONTRACTS || $supportedSections[$fileSection] == WRENCH_FILE_MYFILE){
if (file_exists($selectedFile)) {
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');