", $output); if (empty($error)) { $error = "Error: unable to copy package."; } $_SESSION["error_msg"] = $error; } unset($output); } header("Location: /list/package/"); exit();