mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
This commit is contained in:
parent
35c8b65be7
commit
d9bd1f6e99
@ -1149,7 +1149,7 @@ function _mail($to, $subject, $body, $altBody = '', $add_html_tags = true)
|
|||||||
global $mailer, $config;
|
global $mailer, $config;
|
||||||
if(!$mailer)
|
if(!$mailer)
|
||||||
{
|
{
|
||||||
require(SYSTEM . 'libs/phpmailer/class.phpmailer.php');
|
require(SYSTEM . 'libs/phpmailer/PHPMailerAutoload.php');
|
||||||
$mailer = new PHPMailer();
|
$mailer = new PHPMailer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ function generate_player_lookup($player)
|
|||||||
if(!isset($player_eq[$i]) || $player_eq[$i] == 0)
|
if(!isset($player_eq[$i]) || $player_eq[$i] == 0)
|
||||||
$player_eq[$i] = $empty_slots[$i];
|
$player_eq[$i] = $empty_slots[$i];
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
if(PHP_VERSION_ID == NULL || PHP_VERSION_ID < 70000) {
|
if(PHP_VERSION_ID == NULL || PHP_VERSION_ID < 70000) {
|
||||||
for($i = 1; $i < 11; $i++)
|
for($i = 1; $i < 11; $i++)
|
||||||
{
|
{
|
||||||
@ -66,7 +66,7 @@ function generate_player_lookup($player)
|
|||||||
Items::generate($player_eq[$i]);
|
Items::generate($player_eq[$i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
for($i = 1; $i < 11; $i++)
|
for($i = 1; $i < 11; $i++)
|
||||||
{
|
{
|
||||||
if(check_number($player_eq[$i]))
|
if(check_number($player_eq[$i]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user