From: moodler Date: Fri, 10 Dec 2004 12:22:39 +0000 (+0000) Subject: Fixed the include to use PluginDir X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1372b482df96589cf1951c5f16d55562df606b6a;p=moodle.git Fixed the include to use PluginDir --- diff --git a/lib/phpmailer/class.phpmailer.php b/lib/phpmailer/class.phpmailer.php index d76defcccf..b315c178cd 100644 --- a/lib/phpmailer/class.phpmailer.php +++ b/lib/phpmailer/class.phpmailer.php @@ -471,7 +471,7 @@ class PHPMailer * @return bool */ function SmtpSend($header, $body) { - include_once("class.smtp.php"); + include_once($this->PluginDir.'class.smtp.php'); $error = ""; $bad_rcpt = array();