mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +02:00
Update PHPMailerAutoload.php
This commit is contained in:
parent
441bfe74c1
commit
4f413eec12
@ -30,9 +30,4 @@ function PHPMailerAutoload($classname)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//SPL autoloading was introduced in PHP 5.1.2
|
spl_autoload_register('PHPMailerAutoload', true, true);
|
||||||
if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
|
|
||||||
spl_autoload_register('PHPMailerAutoload', true, true);
|
|
||||||
} else {
|
|
||||||
spl_autoload_register('PHPMailerAutoload');
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user