mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-22 12:36:09 +00:00
chore: harden php8 compatibility, optimize installer/croppers, and refresh docs/admin ux
This commit is contained in:
+15
-15
@@ -24,22 +24,22 @@ if($_POST && count($_POST))
|
||||
|
||||
$strMailtext = "";
|
||||
|
||||
while(list($strName,$value) = each($_POST))
|
||||
{
|
||||
if(is_array($value))
|
||||
{
|
||||
foreach($value as $value_array)
|
||||
{
|
||||
$strMailtext .= $strName.$strDelimiter.$value_array."\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$strMailtext .= $strName.$strDelimiter.$value."\n";
|
||||
}
|
||||
}
|
||||
foreach($_POST as $strName => $value)
|
||||
{
|
||||
if(is_array($value))
|
||||
{
|
||||
foreach($value as $value_array)
|
||||
{
|
||||
$strMailtext .= $strName.$strDelimiter.$value_array."\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$strMailtext .= $strName.$strDelimiter.$value."\n";
|
||||
}
|
||||
}
|
||||
|
||||
if(get_magic_quotes_gpc())
|
||||
if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
|
||||
{
|
||||
$strMailtext = stripslashes($strMailtext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user