Tweak error messages.
This commit is contained in:
parent
9c93257008
commit
c920e059ea
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class Upload extends CI_Controller {
|
|||
if($duplicate) {
|
||||
unlink($upload['full_path']);
|
||||
|
||||
$message = array('type'=>'error', 'status'=>'file already exists:' . $duplicate);
|
||||
$message = array('type'=>'error', 'status'=>'You are attempting to upload a duplicate of <a href="' . base_url($duplicate) . '" style="text-decoration:underline">image ' . $duplicate . '</a>.');
|
||||
} else {
|
||||
$file_name = $this->fileupload->add_upload($upload['file_ext'], $upload['client_name'],$width,$height,$size,$hash);
|
||||
|
||||
|
|
Loading…
Reference in a new issue