Revert "Complete rebrand from Open Game Panel (OGP) to GameServer Panel (GSP)"
This commit is contained in:
parent
02c94766c6
commit
deee7d6ac5
308 changed files with 1412 additions and 1412 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
require_once("modules/config_games/server_config_parser.php");
|
||||
|
||||
function exec_gsp_module()
|
||||
function exec_ogp_module()
|
||||
{
|
||||
$home_id = $_GET['home_id'];
|
||||
$mod_id = $_GET['mod_id'];
|
||||
|
|
@ -23,12 +23,12 @@ function exec_gsp_module()
|
|||
$precmd = $db->real_escape_string($_POST['edit_preinstall_cmds']);
|
||||
if( isset( $_POST['save_as_default'] ) )
|
||||
{
|
||||
$game_mod_query = "UPDATE GSP_DB_PREFIXconfig_mods SET def_precmd='$precmd' WHERE mod_cfg_id='$mod_cfg_id'";
|
||||
$game_mod_query = "UPDATE OGP_DB_PREFIXconfig_mods SET def_precmd='$precmd' WHERE mod_cfg_id='$mod_cfg_id'";
|
||||
$db->query($game_mod_query);
|
||||
}
|
||||
else
|
||||
{
|
||||
$game_mod_query = "UPDATE GSP_DB_PREFIXgame_mods SET precmd='$precmd' WHERE mod_id='$mod_id'";
|
||||
$game_mod_query = "UPDATE OGP_DB_PREFIXgame_mods SET precmd='$precmd' WHERE mod_id='$mod_id'";
|
||||
$db->query($game_mod_query);
|
||||
}
|
||||
$home_info = $db->getGameHome($home_id);
|
||||
|
|
@ -39,12 +39,12 @@ function exec_gsp_module()
|
|||
$postcmd = $db->real_escape_string($_POST['edit_postinstall_cmds']);
|
||||
if( isset( $_POST['save_as_default'] ) )
|
||||
{
|
||||
$game_mod_query = "UPDATE GSP_DB_PREFIXconfig_mods SET def_postcmd='$postcmd' WHERE mod_cfg_id='$mod_cfg_id'";
|
||||
$game_mod_query = "UPDATE OGP_DB_PREFIXconfig_mods SET def_postcmd='$postcmd' WHERE mod_cfg_id='$mod_cfg_id'";
|
||||
$db->query($game_mod_query);
|
||||
}
|
||||
else
|
||||
{
|
||||
$game_mod_query = "UPDATE GSP_DB_PREFIXgame_mods SET postcmd='$postcmd' WHERE mod_id='$mod_id'";
|
||||
$game_mod_query = "UPDATE OGP_DB_PREFIXgame_mods SET postcmd='$postcmd' WHERE mod_id='$mod_id'";
|
||||
$db->query($game_mod_query);
|
||||
}
|
||||
$home_info = $db->getGameHome($home_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue