remove requirement of PHPMailerAutoloader as we have our own

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-09-21 13:03:04 +02:00
parent 30122d8bf1
commit b894e273c7

View File

@@ -571,9 +571,12 @@ class PHPMailer
{ {
$this->exceptions = ($exceptions == true); $this->exceptions = ($exceptions == true);
//Make sure our autoloader is loaded //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';
// }
} }
/** /**