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
|
|
@ -51,7 +51,7 @@ function installUpdate($info, $base_dir, $current_blacklist = array())
|
|||
$not_overwritten_files = "";
|
||||
$new_files = "";
|
||||
|
||||
$temp_dir = $tmp . DIRECTORY_SEPARATOR . "GSP_Extras";
|
||||
$temp_dir = $tmp . DIRECTORY_SEPARATOR . "OGP_Extras";
|
||||
if( !file_exists($temp_dir) )
|
||||
mkdir($temp_dir, 0775);
|
||||
|
||||
|
|
@ -207,13 +207,13 @@ function deeperPathFirst($a, $b)
|
|||
return ($al > $bl) ? -1 : +1;
|
||||
}
|
||||
|
||||
function exec_gsp_module()
|
||||
function exec_ogp_module()
|
||||
{
|
||||
global $db, $settings;
|
||||
|
||||
// Get blacklisted files
|
||||
$current_blacklist = array();
|
||||
$blacklisted_files = $db->resultQuery('SELECT file_path FROM `GSP_DB_PREFIXupdate_blacklist`;');
|
||||
$blacklisted_files = $db->resultQuery('SELECT file_path FROM `OGP_DB_PREFIXupdate_blacklist`;');
|
||||
if($blacklisted_files !== FALSE)
|
||||
{
|
||||
$current_blacklist = array();
|
||||
|
|
@ -224,9 +224,9 @@ function exec_gsp_module()
|
|||
}
|
||||
|
||||
// GitHub URL
|
||||
if(function_exists("getGSPGitHubURLUnstrict") && function_exists("getGitHubOrganization")){
|
||||
if(function_exists("getOGPGitHubURLUnstrict") && function_exists("getGitHubOrganization")){
|
||||
$gitHubUsername = $settings["custom_github_update_username"];
|
||||
$gitHubURL = getGSPGitHubURLUnstrict($gitHubUsername);
|
||||
$gitHubURL = getOGPGitHubURLUnstrict($gitHubUsername);
|
||||
$gitHubOrganization = getGitHubOrganization($gitHubURL);
|
||||
}else{
|
||||
$gitHubURL = "https://github.com/OpenGamePanel/";
|
||||
|
|
@ -374,7 +374,7 @@ function exec_gsp_module()
|
|||
|
||||
foreach($repos_info_array as $key => $repository)
|
||||
{
|
||||
if(preg_match('/^(GSP-Website|OGP-Agent-Linux|OGP-Agent-Windows)$/',$repository['name']))
|
||||
if(preg_match('/^(OGP-Website|OGP-Agent-Linux|OGP-Agent-Windows)$/',$repository['name']))
|
||||
continue;
|
||||
|
||||
$REMOTE_REPO_FILE = $gitHubURL . $repository['name'] . '/commits/master.atom';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue