1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 16:27:38 +02:00

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

View File

@@ -367,7 +367,7 @@ class filesystem implements filesystem_interface
$common_php_group = @filegroup(__FILE__); $common_php_group = @filegroup(__FILE__);
// And the owner and the groups PHP is running under. // 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; $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 // If we are unable to get owner/group, then do not try to set them by guessing