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 (Game::CloseAllJobs($gameid)) { if (Game::SetToPlace($gameid)) { handleRenderPlace($gameid); WebContextManager::Redirect("/games/config?id=".$gameid); } else { Game::SetToPersonalBuildPlace($gameid); } } } $body = << EOT; pageHandler(); $ph->body = $body; $ph->pageTitle("PBS Config"); $ph->output();