N°3412 - Command Injection vulnerability in the Setup Wizard - do not use escapeshellcmd before execution in Windows envt

This commit is contained in:
odain
2021-02-17 10:18:28 +01:00
parent bb877a244b
commit 82ba7f25b0
2 changed files with 2 additions and 2 deletions

View File

@@ -2342,7 +2342,7 @@ class utils
* @return bool : indicate whether we run under a windows environnement or not
* @since 2.7.4 : N°3412
*/
public static function IsWindows(){
public static function IsWindowsEnvironment(){
return (substr(PHP_OS,0,3) === 'WIN');
}
}