Email test: under IIS it was not detecting Windows correctly, and the help message was therefore completely wrong.

SVN:trunk[1511]
This commit is contained in:
Romain Quetiez
2011-08-25 10:04:21 +00:00
parent 71655f0632
commit cc1105ff60

View File

@@ -51,7 +51,7 @@ function CheckEmailSetting($oP)
$sPhpIniFile = 'php.ini';
}
$bIsWindows = (array_key_exists('WINDIR', $_SERVER));
$bIsWindows = (array_key_exists('WINDIR', $_SERVER) || array_key_exists('windir', $_SERVER));
if ($bIsWindows)
{
$sSmtpServer = ini_get('SMTP');