From 66897a1782b6e04724a5051bdebd1b6dd20ed8e8 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 27 Nov 2023 10:04:00 -0500 Subject: [PATCH] my files --- www-api/app/Controllers/WrenchMedia.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-api/app/Controllers/WrenchMedia.php b/www-api/app/Controllers/WrenchMedia.php index 3990037d..7ec8ad2c 100644 --- a/www-api/app/Controllers/WrenchMedia.php +++ b/www-api/app/Controllers/WrenchMedia.php @@ -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');