]> git.wh0rd.org - tt-rss.git/commitdiff
ttrssMailer: fix typo
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 16 Apr 2013 12:43:15 +0000 (16:43 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 16 Apr 2013 12:43:15 +0000 (16:43 +0400)
classes/ttrssmailer.php
config.php-dist

index 1f365c22ed87e7c9083c07620223e1c6bf159f6b..54d180620fee9f93f8579705e7516dc43862e618 100644 (file)
@@ -26,8 +26,8 @@ class ttrssMailer extends PHPMailer {
        function __construct() {\r
                $this->SetLanguage("en", "lib/phpmailer/language/");\r
 \r
-               if (SMTP_HOST) {\r
-                       $pair = explode(":", SMTP_HOST, 2);\r
+               if (SMTP_SERVER) {\r
+                       $pair = explode(":", SMTP_SERVER, 2);\r
                        $Mailer = "smtp";\r
 \r
                        $Host = $pair[0];\r
index 9dd46e295f936e549256d980245100d1c4c9a26a..48bd598704286ed97974e862aac74fe8093ccf8b 100644 (file)
        define('SMTP_LOGIN', '');
        define('SMTP_PASSWORD', '');
        // These two options enable SMTP authentication when sending
-       // outgoing mail. Only used with SMTP_HOST
+       // outgoing mail. Only used with SMTP_SERVER.
 
        // ***************************************
        // *** Other settings (less important) ***