Finished Cpeshipping
This commit is contained in:
@@ -26,9 +26,10 @@ class FileController extends mfBaseController {
|
||||
throw new Exception("File not found", 404);
|
||||
}
|
||||
$filename = $file->store_filename;
|
||||
$path = MFUPLOAD_FILE_SAVE_PATH."/documents/$filename";
|
||||
$path = MFUPLOAD_FILE_SAVE_PATH;
|
||||
$path .= ($file->subfolder) ? "/".$file->subfolder : "";
|
||||
$path .= "/$filename";
|
||||
|
||||
//var_dump($path);exit;
|
||||
if(!file_exists($path)) {
|
||||
throw new Exception("File not found", 4041);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user