// Danh sach cac file con lai $array['file_list'] = $NvUpdate->list_all_file(); // Buoc tiep theo if (!file_exists(NV_ROOTDIR . '/install/update_docs_' . NV_LANG_UPDATE . '.html')) { $array['NextStepUrl'] = NV_BASE_SITEURL . 'install/update.php?step=3'; } else { $array['NextStepUrl'] = NV_BASE_SITEURL . 'install/update.php?step=2&substep=5'; } // Di chuyen cac file if ($nv_Request->isset_request('move', 'get')) { if (!isset($nv_update_config['updatelog']['is_start_move_file'])) { // Danh dau da di chuyen cac file roi $nv_update_config['updatelog']['is_start_move_file'] = NV_CURRENTTIME; $NvUpdate->set_data_log($nv_update_config['updatelog']); } $check = $NvUpdate->move_file($nv_update_config, $array['file_list']); if ($check === true) { if (!file_exists(NV_ROOTDIR . '/install/update_docs_' . NV_LANG_UPDATE . '.html')) { $nv_update_config['updatelog']['step'] = 2; $NvUpdate->set_data_log($nv_update_config['updatelog']); } else { $nv_update_config['updatelog']['substep'] = 4; $NvUpdate->set_data_log($nv_update_config['updatelog']); } die('OK'); } else { die($check); } } // Khong co file nao nua thi luu lai va chuyen buoc 3 if (empty($array['file_list']) and $nv_update_config['updatelog']['step'] < 2) {