Commit 0e11d866 by Phạm Văn Đoan

test uơload

parent 7ed98619
......@@ -413,7 +413,7 @@ class CmsTrack extends CI_Controller
redirect(base_url('backend/cmsTrack/showTrack/'.$track_id));
}
$update = $this->privateUpdateTrackArt($track_id, 'track_image', true);
$update = $this->privateUpdateTrackArt($track_id, 'track_image', false);
if ($update) {
$this->session->set_flashdata('success', 'Cập nhật ảnh bài hát thành công');
......@@ -541,8 +541,6 @@ class CmsTrack extends CI_Controller
$this->track_model->update_art($track_id, $db_art_path);
return true;
} else {
MyHelper::echoPreDie($this->upload->display_errors());
}
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment