R48917 - /trunk/phpgwapi/inc/class.asyncservice.inc.php

Author: ralfbecker
New Revision: 48917

URL: http://svn.stylite.de/viewvc/egroupware?rev=48917&view=rev
Log:
do no call posix_* methods (from posix extension), if it is not available

Modified:
trunk/phpgwapi/inc/class.asyncservice.inc.php

Modified: trunk/phpgwapi/inc/class.asyncservice.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/phpgwapi/inc/class.asyncservice.inc.php?rev=48917&r1=48916&r2=48917&view=diff

— trunk/phpgwapi/inc/class.asyncservice.inc.php (original)
+++ trunk/phpgwapi/inc/class.asyncservice.inc.php Tue Oct 7 11:31:25 2014
@@ -599,7 +599,7 @@
{
echo ‘

’.lang(’%1 is not executable by the webserver !!!’,$this->$name)."

\n";
$perms = fileperms($this->$name);
  •   				if (!($perms & 0x0001) && ($perms & 0x0008))	// only executable by group
    
  •   				if (!($perms & 0x0001) && ($perms & 0x0008) && function_exists('posix_getuid'))	// only executable by group
      				{
      					$group = posix_getgrgid(filegroup($this->$name));
      					$webserver = posix_getpwuid(posix_getuid ());
    

Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs