Phase 2: Rename critical files (ogp_api.php to gsp_api.php, logos, agent files)

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-09-08 15:49:50 +00:00
parent 7f19731158
commit 4b771d498f
54 changed files with 102 additions and 102 deletions

View file

@ -14,7 +14,7 @@ function exec_ogp_module() {
$remote = new OGPRemoteLibrary($remote_server['agent_ip'], $remote_server['agent_port'], $remote_server['encryption_key'], $remote_server['timeout'] );
if(isset($_POST['save_file']))
{
$file_info = $remote->remote_writefile('./ogp_agent.log', strip_real_escape_string($_REQUEST['file_content']));
$file_info = $remote->remote_writefile('./gsp_agent.log', strip_real_escape_string($_REQUEST['file_content']));
if ( $file_info === 1 )
{
print_success( get_lang("wrote_changes") );
@ -27,7 +27,7 @@ function exec_ogp_module() {
}
}
$data = "";
$file_info = $remote->remote_readfile('./ogp_agent.log',$data);
$file_info = $remote->remote_readfile('./gsp_agent.log',$data);
if ( $file_info === 0 )
{
print_failure( get_lang("not_found") );