* fix the error.

This commit is contained in:
wangyidong
2011-05-03 02:38:13 +00:00
parent 5a299aaaa3
commit 5dbacbc2c4
+1 -1
View File
@@ -56,7 +56,7 @@ class mailModel extends model
$this->mta->Username = $this->config->mail->smtp->username;
$this->mta->Password = $this->config->mail->smtp->password;
if(isset($this->config->mail->smtp->port)) $this->mta->Port = $this->config->mail->smtp->port;
if(empty($this->config->mail->smtp->secure))$this->mta->SMTPSecure = strtolower($this->config->mail->smtp->secure);
if(!empty($this->config->mail->smtp->secure))$this->mta->SMTPSecure = strtolower($this->config->mail->smtp->secure);
}
/**