Phase 3: Update remaining code references (classes, constants, functions)

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-09-08 15:53:33 +00:00
parent 4b771d498f
commit d692485a08
188 changed files with 338 additions and 338 deletions

View file

@ -38,7 +38,7 @@ function exec_ogp_module()
litefm_check($home_id);
$remote = new OGPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
$remote = new GSPRemoteLibrary($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";

View file

@ -3,7 +3,7 @@
* Component of the litefm module
*/
function exec_ogp_module()
function exec_gsp_module()
{
require_once(MODULES."/litefm/litefm.php");
@ -49,7 +49,7 @@ function exec_ogp_module()
"<td colspan='3' ><h3>$show_path</h3></td>".
"</tr></table>\n";
//Logic to open the file we're editing
$remote = new OGPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
$remote = new GSPRemoteLibrary($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);

View file

@ -5,7 +5,7 @@
require_once(MODULES."/litefm/litefm.php");
function exec_ogp_module()
function exec_gsp_module()
{
$home_id = $_REQUEST['home_id'];
@ -40,7 +40,7 @@ function exec_ogp_module()
{
$_REQUEST['file_content'] = strip_real_escape_string($_REQUEST['file_content']);
$remote = new OGPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
$remote = new GSPRemoteLibrary($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 )
{

View file

@ -3,7 +3,7 @@
* Component of the litefm module
*/
function exec_ogp_module()
function exec_gsp_module()
{
require_once(MODULES."/litefm/litefm.php");
@ -61,7 +61,7 @@ function exec_ogp_module()
}
set_time_limit(0);
$remote = new OGPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
$remote = new GSPRemoteLibrary($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)

View file

@ -4,7 +4,7 @@
*/
require_once(MODULES."/litefm/functions.php");
function exec_ogp_module()
function exec_gsp_module()
{
require_once('includes/form_table_class.php');
global $db;