phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [21324] Fixing globals


From: Caeies
Subject: [Phpgroupware-cvs] [21324] Fixing globals
Date: Wed, 08 Sep 2010 16:23:36 +0000

Revision: 21324
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21324
Author:   Caeies
Date:     2010-09-08 16:23:35 +0000 (Wed, 08 Sep 2010)
Log Message:
-----------
Fixing globals

Modified Paths:
--------------
    modules/email/branches/branch_0_9_16/inc/class.bosend.inc.php

Modified: modules/email/branches/branch_0_9_16/inc/class.bosend.inc.php
===================================================================
--- modules/email/branches/branch_0_9_16/inc/class.bosend.inc.php       
2010-09-08 16:22:39 UTC (rev 21323)
+++ modules/email/branches/branch_0_9_16/inc/class.bosend.inc.php       
2010-09-08 16:23:35 UTC (rev 21324)
@@ -74,6 +74,10 @@
                        {
                                $got_ip = 
$GLOBALS['HTTP_SERVER_VARS']['REMOTE_ADDR'];
                        }
+                       elseif (isset($GLOBALS['_SERVER']['REMOTE_ADDR']))
+                       {
+                               $got_ip = $GLOBALS['_SERVER']['REMOTE_ADDR'];
+                       }
                        
                        // did we get anything useful ?
                        if (trim((string)$got_ip) == '')




reply via email to

[Prev in Thread] Current Thread [Next in Thread]