slawkens1 2017-05-27 23:46:12 +02:00
parent 35c8b65be7
commit d9bd1f6e99
2 changed files with 3 additions and 3 deletions

View File

@ -1149,7 +1149,7 @@ function _mail($to, $subject, $body, $altBody = '', $add_html_tags = true)
global $mailer, $config;
if(!$mailer)
{
require(SYSTEM . 'libs/phpmailer/class.phpmailer.php');
require(SYSTEM . 'libs/phpmailer/PHPMailerAutoload.php');
$mailer = new PHPMailer();
}

View File

@ -58,7 +58,7 @@ function generate_player_lookup($player)
if(!isset($player_eq[$i]) || $player_eq[$i] == 0)
$player_eq[$i] = $empty_slots[$i];
}
/*
if(PHP_VERSION_ID == NULL || PHP_VERSION_ID < 70000) {
for($i = 1; $i < 11; $i++)
{
@ -66,7 +66,7 @@ function generate_player_lookup($player)
Items::generate($player_eq[$i]);
}
}
*/
for($i = 1; $i < 11; $i++)
{
if(check_number($player_eq[$i]))