]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed the include to use PluginDir
authormoodler <moodler>
Fri, 10 Dec 2004 12:22:39 +0000 (12:22 +0000)
committermoodler <moodler>
Fri, 10 Dec 2004 12:22:39 +0000 (12:22 +0000)
lib/phpmailer/class.phpmailer.php

index d76defcccf243474b71ec35e4d1d711b2cc6b3de..b315c178cd63e3a93e55c9f8067a3f54e8434396 100644 (file)
@@ -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();