media path

This commit is contained in:
CHIEFSOFT\ameye
2023-08-11 10:02:04 -04:00
parent cbe61f2d77
commit 88b500c3ca
+3 -3
View File
@@ -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');