getDefaultDbConfig( ) ); $updated = FALSE; $errorMsg = ""; try { $updater->updateToLatestVersion( ); $updated = TRUE; } catch ( Exception $? ) { $errorMsg = $a_list->getMessage( ); } if ( $updated ) { ( "升级完毕,请立刻删除upgrade.php", "-1", 2 ); } else { ( "升级失败。错误信息:
".$errorMsg, "-1", 2 ); } } } ?>