Commit 91b704eb by Trần Văn Minh

xóa die()

parent d49b9ba2
......@@ -110,7 +110,7 @@ class CmsTrack extends CI_Controller
// die($active_artist.$active_singer.'ca sĩ'.$id_singer.'/'.$singer.'nhạc sĩ'.$id_artists.'/'.$artist);
// Xử lý upload: avatar
if($file != ''){
MyHelper::echoPreDie('1230');
// MyHelper::echoPreDie('1230');
$db_art_path = '';
$upload_path = 'uploads/tracks/arts';
$upload_full_path = '/home/aseanvn/public_html/vmusicchart.dcv.vn/' . $upload_path;
......@@ -125,7 +125,7 @@ class CmsTrack extends CI_Controller
// if()
if ($this->upload->do_upload('avatar')) {
$upload_data = $this->upload->data();
MyHelper::echoPreDie('ac: '.$$upload_data);
// MyHelper::echoPreDie('ac: '.$$upload_data);
$db_art_path = $upload_path . '/' . $upload_data['file_name'];
}
$this->track_model->update($track_id, $title, $db_art_path);
......
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