1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:25:59 +00:00

ttrssMailer: fix typo

This commit is contained in:
Andrew Dolgov
2013-04-16 16:43:15 +04:00
parent 52803a0bfd
commit 90df27a4c1
2 changed files with 3 additions and 3 deletions

View File

@@ -26,8 +26,8 @@ class ttrssMailer extends PHPMailer {
function __construct() {
$this->SetLanguage("en", "lib/phpmailer/language/");
if (SMTP_HOST) {
$pair = explode(":", SMTP_HOST, 2);
if (SMTP_SERVER) {
$pair = explode(":", SMTP_SERVER, 2);
$Mailer = "smtp";
$Host = $pair[0];