diff options
author | Liam Jack <cuonic@cuonic.com> | 2015-12-22 17:52:20 +0100 |
---|---|---|
committer | Liam Jack <cuonic@cuonic.com> | 2015-12-22 17:52:20 +0100 |
commit | d22beff9a5d62e63dd67544a223dee9a27005d95 (patch) | |
tree | e5b71fe83fb148f7c45d86d916621638ea348336 | |
parent | 4347e795411c07fb8b34a4b1634591ce75834915 (diff) | |
parent | 9567015f1c049d5d2c9ff1c27547e577dec8430a (diff) | |
download | PHPAuth-d22beff9a5d62e63dd67544a223dee9a27005d95.zip PHPAuth-d22beff9a5d62e63dd67544a223dee9a27005d95.tar.gz PHPAuth-d22beff9a5d62e63dd67544a223dee9a27005d95.tar.bz2 |
Merge pull request #163 from i4j5/master
Added PHPMailer namespace to use
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | Auth.php | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b7ef35 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/vendor +composer.lock @@ -3,6 +3,7 @@ namespace PHPAuth; use ZxcvbnPhp\Zxcvbn; +use PHPMailer\PHPMailer\PHPMailer; /*** * Auth class @@ -762,7 +763,7 @@ class Auth if($sendmail === true) { // Check configuration for SMTP parameters - $mail = new \PHPMailer; + $mail = new PHPMailer; if($this->config->smtp) { $mail->isSMTP(); $mail->Host = $this->config->smtp_host; |