From 88b500c3ca99f042e0cdde92fcafc0d00b30e11e Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 11 Aug 2023 10:02:04 -0400 Subject: [PATCH] media path --- www-api/app/Controllers/WrenchMedia.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www-api/app/Controllers/WrenchMedia.php b/www-api/app/Controllers/WrenchMedia.php index 159e4cc4..3b5317f8 100644 --- a/www-api/app/Controllers/WrenchMedia.php +++ b/www-api/app/Controllers/WrenchMedia.php @@ -75,15 +75,15 @@ class WrenchMedia extends BaseController $ret = $wrenchboard->wrenchboard_api($data, $out); $out['internal_return'] = $ret; } -print_r($out); +//print_r($out); // MAKE SURE FOLDER AS PER PROCESS IS AVAILABLE - echo $selectedFile = $this->savePath.'PROFILE/'.$out["member_uid"]."/MYFILES/". $out["saved_file_name"]; + $selectedFile = $this->savePath.'PROFILE/'.$out["member_uid"]."/MYFILES/". $out["saved_file_name"]; - $file = 'books.png'; + $file = $selectedFile; // 'books.png'; if (file_exists($file)) { header('Content-Description: File Transfer');