phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.sessions.inc.php,1.104.4.8,1


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.sessions.inc.php,1.104.4.8,1.104.4.9 functions.inc.php,1.121.2.13.2.9,1.121.2.13.2.10
Date: Thu, 22 May 2003 17:33:18 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv9148

Modified Files:
      Tag: Version-0_9_16-branch
        class.sessions.inc.php functions.inc.php 
Log Message:
check for PHP 4.1+

Index: class.sessions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.sessions.inc.php,v
retrieving revision 1.104.4.8
retrieving revision 1.104.4.9
diff -C2 -r1.104.4.8 -r1.104.4.9
*** class.sessions.inc.php      19 May 2003 13:39:11 -0000      1.104.4.8
--- class.sessions.inc.php      22 May 2003 21:33:16 -0000      1.104.4.9
***************
*** 928,932 ****
                        }
  
!                       
if(@isset($GLOBALS['phpgw_info']['server']['enforce_ssl']) && 
$GLOBALS['phpgw_info']['server']['enforce_ssl'] && 
!$GLOBALS['HTTP_SERVER_VARS']['HTTPS'])
                        {
                                if(substr($url ,0,4) != 'http')
--- 928,932 ----
                        }
  
!                       
if(@isset($GLOBALS['phpgw_info']['server']['enforce_ssl']) && 
$GLOBALS['phpgw_info']['server']['enforce_ssl'] && !$_SERVER['HTTPS'])
                        {
                                if(substr($url ,0,4) != 'http')

Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/functions.inc.php,v
retrieving revision 1.121.2.13.2.9
retrieving revision 1.121.2.13.2.10
diff -C2 -r1.121.2.13.2.9 -r1.121.2.13.2.10
*** functions.inc.php   18 May 2003 14:05:15 -0000      1.121.2.13.2.9
--- functions.inc.php   22 May 2003 21:33:16 -0000      1.121.2.13.2.10
***************
*** 29,33 ****
        
\****************************************************************************/
  
!       if (floor(phpversion()) == 3)
        {
                echo 'phpGroupWare now requires PHP 4.1 or greater.<br>';
--- 29,33 ----
        
\****************************************************************************/
  
!       if (!function_exists('version_compare'))//version_compare() is only 
available in PHP4.1+
        {
                echo 'phpGroupWare now requires PHP 4.1 or greater.<br>';





reply via email to

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