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
|
|
@ -14,7 +14,7 @@ if(file_exists("includes/helpers.php")){
|
|||
if(function_exists("startSession")){
|
||||
startSession();
|
||||
}else{
|
||||
session_name("gameserver-panel_web");
|
||||
session_name("opengamepanel_web");
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
require_once(MODULES."/litefm/functions.php");
|
||||
require_once(MODULES."/litefm/litefm.php");
|
||||
function exec_gsp_module()
|
||||
function exec_ogp_module()
|
||||
{
|
||||
$home_id = $_REQUEST['home_id'];
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ function exec_gsp_module()
|
|||
|
||||
litefm_check($home_id);
|
||||
|
||||
$remote = new GSPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
|
||||
$remote = new OGPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
|
||||
|
||||
$os_string = $remote->what_os();
|
||||
$os = preg_match("/Linux/i", $os_string) ? "linux" : "windows";
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* Component of the litefm module
|
||||
*/
|
||||
|
||||
function exec_gsp_module()
|
||||
function exec_ogp_module()
|
||||
{
|
||||
require_once(MODULES."/litefm/litefm.php");
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ function exec_gsp_module()
|
|||
"<td colspan='3' ><h3>$show_path</h3></td>".
|
||||
"</tr></table>\n";
|
||||
//Logic to open the file we're editing
|
||||
$remote = new GSPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
|
||||
$remote = new OGPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
|
||||
$data = "";
|
||||
$rel_path = isset($_SESSION['fm_cwd_'.$home_id]) ? $_SESSION['fm_cwd_'.$home_id]:'';
|
||||
$filepath = clean_path($home_cfg['home_path']."/".$rel_path);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
require_once(MODULES."/litefm/litefm.php");
|
||||
|
||||
function exec_gsp_module()
|
||||
function exec_ogp_module()
|
||||
{
|
||||
$home_id = $_REQUEST['home_id'];
|
||||
|
||||
|
|
@ -40,7 +40,7 @@ function exec_gsp_module()
|
|||
{
|
||||
$_REQUEST['file_content'] = strip_real_escape_string($_REQUEST['file_content']);
|
||||
|
||||
$remote = new GSPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
|
||||
$remote = new OGPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
|
||||
$file_info = $remote->remote_writefile($home_cfg['home_path']."/".$_SESSION['fm_cwd_'.$home_id], $_REQUEST['file_content']);
|
||||
if ( $file_info === 1 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* Component of the litefm module
|
||||
*/
|
||||
|
||||
function exec_gsp_module()
|
||||
function exec_ogp_module()
|
||||
{
|
||||
require_once(MODULES."/litefm/litefm.php");
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ function exec_gsp_module()
|
|||
}
|
||||
|
||||
set_time_limit(0);
|
||||
$remote = new GSPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
|
||||
$remote = new OGPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
|
||||
$fp = fopen("$downloads_folder/$did", "w");
|
||||
$_SESSION['download'][$did]['offset'] = $remote->remote_get_file_part($home_cfg['home_path']."/".$_SESSION['download'][$did]['fileph'], $_SESSION['download'][$did]['offset'], $data);
|
||||
if($_SESSION['download'][$did]['offset'] != -1)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
require_once(MODULES."/litefm/functions.php");
|
||||
function exec_gsp_module()
|
||||
function exec_ogp_module()
|
||||
{
|
||||
require_once('includes/form_table_class.php');
|
||||
global $db;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue