Fix PHP 8 fatal error: remove removed get_magic_quotes_gpc() call in cfg_text_replace.php

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/8cb6b77b-f926-4eaf-91db-37d989febd39

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-30 13:24:34 +00:00 committed by GitHub
parent 2a99becc4d
commit a3935df69c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -249,8 +249,6 @@ foreach ((array)$file_replacements as $filepath => $replacements)
}
}
if ( get_magic_quotes_gpc() )
$file_content=stripslashes($file_content);
}
//echo "<xmp>".$file_content."</xmp>";
$remote->remote_writefile($server_home['home_path'] . "/" . $filepath, $file_content);