media path
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user