Skip to content

Commit

Permalink
correcion de code : fonction __autoload() rejetée car obsolète
Browse files Browse the repository at this point in the history
  • Loading branch information
ynaessens committed May 25, 2019
1 parent 23ad71d commit 35ef5da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion phpmailer/PHPMailerAutoload.php
Expand Up @@ -38,12 +38,15 @@ function PHPMailerAutoload($classname)
spl_autoload_register('PHPMailerAutoload');
}
} else {
echo 'version de php obsolète';
/**
* Fall back to traditional autoload for old PHP versions
* @param string $classname The name of the class to load
*/
function __autoload($classname)
/*function __autoload($classname)
{
PHPMailerAutoload($classname);
}
modification YN le 25/05/2019
*/
}

0 comments on commit 35ef5da

Please sign in to comment.