mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR Fixed undefined variable $groupList
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@113967 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8c315023b2
commit
6c3e5ca132
@ -603,6 +603,7 @@ class InstallRequirements {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
$groups = posix_getgroups();
|
$groups = posix_getgroups();
|
||||||
|
$groupList = array();
|
||||||
foreach($groups as $group) {
|
foreach($groups as $group) {
|
||||||
$groupInfo = posix_getgrgid($group);
|
$groupInfo = posix_getgrgid($group);
|
||||||
if(in_array($currentOwner['name'], $groupInfo['members'])) $groupList[] = $groupInfo['name'];
|
if(in_array($currentOwner['name'], $groupInfo['members'])) $groupList[] = $groupInfo['name'];
|
||||||
|
Loading…
Reference in New Issue
Block a user