fixed __autoload() is no longer supported

Cette révision appartient à :
Albirew 2022-05-28 17:15:20 +02:00
Parent 88a8201759
révision 9f0b41d7c9
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -42,7 +42,7 @@ if (version_compare(PHP_VERSION, '5.1.2', '>=')) {
* Fall back to traditional autoload for old PHP versions
* @param string $classname The name of the class to load
*/
function __autoload($classname)
function spl_autoload_register($classname)
{
PHPMailerAutoload($classname);
}