1
0
Fork 0

Minor fix.

This commit is contained in:
Andrew Tomaka 2011-11-05 16:49:16 -04:00
parent d79162a889
commit d7f770243c

View file

@ -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);