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:
parent
2a99becc4d
commit
a3935df69c
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue