PHP Warning: posix_uname() has been disabled for security reasons in /includes/GlobalFunctions.php on line 1496
Is the following fix safe/ok?
/includes/GlobalFunctions.php
put
if ( function_exists( 'posix_uname' ) ) {
// This function not present on Windows
$uname = /*posix_uname()*/ false;
} else {
instead of
if ( function_exists( 'posix_uname' ) ) {
// This function not present on Windows
$uname = posix_uname();
} else {