From d7f770243c393dff74f818f3eeb927078b03ecb9 Mon Sep 17 00:00:00 2001 From: atomaka Date: Sat, 5 Nov 2011 16:49:16 -0400 Subject: [PATCH] Minor fix. --- application/controllers/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/upload.php b/application/controllers/upload.php index 19f3405..eb0df90 100644 --- a/application/controllers/upload.php +++ b/application/controllers/upload.php @@ -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);