Selaa lähdekoodia

Feature #272 - A correction in the confihuration file for the mailing sub-system.

Ivan Tcholakov 15 vuotta sitten
vanhempi
commit
4ac338fff3
1 muutettua tiedostoa jossa 2 lisäystä ja 5 poistoa
  1. 2 5
      main/inc/conf/mail.conf.dist.php

+ 2 - 5
main/inc/conf/mail.conf.dist.php

@@ -11,10 +11,7 @@ $platform_email['SMTP_MAILER']       = 'mail'; //mail, sendmail or smtp
 $platform_email['SMTP_AUTH']         = 0;
 $platform_email['SMTP_USER']         = '';
 $platform_email['SMTP_PASS']         = '';
-$platform_email['SMTP_CHARSET']      = 'ISO-8859-15';
-global $charset;
-if (!empty($charset) && $charset != $platform_email['SMTP_CHARSET']) {
-    $platform_email['SMTP_CHARSET']      = $charset;
-}
+$platform_email['SMTP_CHARSET']      = api_get_system_encoding();
+
 // ====================================================================
 ?>