Leeflets/leeflets — pull request #103 by twoSeats (2013-10-08 09:54:44+00:00)
Title: made write permissions check more flexible.

added a check for temp-write-test files group & the php engine's groups.

in some situations; local development for some, apache(or other egine) may using the home folder as webroot. here apache may be in the main users group and will not own any files it creates. this means that leeflets may be able to write to filesystem but get false negative when only checking getmyuid() vs fileowner().

solved by adding check for filegroup() in posix_getgroups()