Minor fix.
This commit is contained in:
parent
d79162a889
commit
d7f770243c
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Upload extends CI_Controller {
|
|||
|
||||
rename($upload['full_path'], $upload['file_path'] . $file_name . $upload['file_ext']);
|
||||
|
||||
$message = array('type'=>'success','status'=>'Uploaded successfully', 'file'=>'http://screens.p5dev.com/' . $file_name);
|
||||
$message = array('type'=>'success','status'=>'Uploaded successfully', 'file'=>base_url('/view/specific/' . $file_name));
|
||||
}
|
||||
|
||||
echo json_encode($message);
|
||||
|
|
Loading…
Reference in a new issue