} else { if ($_COOKIE['oat'] == OA_UPGRADE_UPGRADE) { $message = $strUpgradeComplete; } else { $message = $strInstallComplete; } } $action = OA_UPGRADE_FINISH; } else { if (array_key_exists('dirPage', $_POST) && !empty($_POST['dirPage'])) { $action = $_POST['dirPage']; if ($_POST['dirPage'] == OA_UPGRADE_SYSCHECK) { $aSysInfo = $oUpgrader->checkEnvironment(); $halt = !$oUpgrader->canUpgrade(); if (!$halt) { $halt = !$oUpgrader->checkUpgradePackage(); } } } else { $action = OA_UPGRADE_WELCOME; } } } } } } } } } } }