use PHP_OS instead of php_uname('s')

The php_uname() function may be disabled for security reasons.
This commit is contained in:
Christian Flothmann 2015-10-01 19:06:54 +02:00
parent 74af02a771
commit 40e0dc8084
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class ConsoleOutput extends StreamOutput implements ConsoleOutputInterface
*/
private function isRunningOS400()
{
return 'OS400' === php_uname('s');
return 'OS400' === PHP_OS;
}
/**