remove requirement of PHPMailerAutoloader as we have our own
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -571,9 +571,12 @@ class PHPMailer
|
||||
{
|
||||
$this->exceptions = ($exceptions == true);
|
||||
//Make sure our autoloader is loaded
|
||||
if (!in_array('PHPMailerAutoload', spl_autoload_functions())) {
|
||||
require 'PHPMailerAutoload.php';
|
||||
}
|
||||
/*
|
||||
* commented out for Froxlor as we have our own Autoloader to take care of this stuff
|
||||
*/
|
||||
// if (!in_array('PHPMailerAutoload', spl_autoload_functions())) {
|
||||
// require 'PHPMailerAutoload.php';
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user