mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user