Fix PATH directory (require)
This commit is contained in:
parent
a51a9e1818
commit
86e152ff9c
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue