Merge pull request #5233 from rxu/ticket/15678

[ticket/15678] Fix PHP warning in filesystem.php
This commit is contained in:
Marc Alexander 2018-06-20 22:08:37 +02:00
commit 0925a22062
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -367,7 +367,7 @@ class filesystem implements filesystem_interface
$common_php_group = @filegroup(__FILE__);
// And the owner and the groups PHP is running under.
$php_uid = (function_exists('posic_getuid')) ? @posix_getuid() : false;
$php_uid = (function_exists('posix_getuid')) ? @posix_getuid() : false;
$php_gids = (function_exists('posix_getgroups')) ? @posix_getgroups() : false;
// If we are unable to get owner/group, then do not try to set them by guessing