use PHP_OS instead of php_uname('s')
The php_uname() function may be disabled for security reasons.
This commit is contained in:
parent
74af02a771
commit
40e0dc8084
@ -125,7 +125,7 @@ class ConsoleOutput extends StreamOutput implements ConsoleOutputInterface
|
|||||||
*/
|
*/
|
||||||
private function isRunningOS400()
|
private function isRunningOS400()
|
||||||
{
|
{
|
||||||
return 'OS400' === php_uname('s');
|
return 'OS400' === PHP_OS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user