Fix PATH directory (require)

This commit is contained in:
Christopher C.M 2013-02-15 01:27:16 -06:00
parent a51a9e1818
commit 86e152ff9c
1 changed files with 1 additions and 1 deletions

View File

@ -968,7 +968,7 @@ class PHPMailer {
* @return bool
*/
protected function SmtpSend($header, $body) {
require_once $this->PluginDir . 'class.smtp.php';
require_once __DIR__ . $this->PluginDir . 'class.smtp.php';
$bad_rcpt = array();
if(!$this->SmtpConnect()) {