isPersonalServer == 0) { WebContextManager::Redirect("/games/config?id=".$gameid); } if (!is_int($gameid) || getAssetInfo($gameid)->AssetTypeId != 9 || getAssetInfo($gameid)->isPersonalServer != 1) { http_response_code(404); } } else { http_response_code(404); } if (isset($_POST['ConvertToRegular'])) { if (gameCloseAllJobs($gameid)) { if (setRegularGame($gameid)) { handleRenderPlace($gameid); WebContextManager::Redirect("/games/config?id=".$gameid); } else { setPBSGame($gameid); } } } $body = << EOT; pageHandler(); $ph->body = $body; $ph->pageTitle("PBS Config"); $ph->output();