[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: setup/inc functions.inc.php,1.47,1.47.2.1
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: setup/inc functions.inc.php,1.47,1.47.2.1 |
Date: |
Thu, 22 May 2003 17:40:29 -0400 |
Update of /cvsroot/phpgroupware/setup/inc
In directory subversions:/tmp/cvs-serv9970
Modified Files:
Tag: Version-0_9_16-branch
functions.inc.php
Log Message:
php4.1 check
Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/inc/functions.inc.php,v
retrieving revision 1.47
retrieving revision 1.47.2.1
diff -C2 -r1.47 -r1.47.2.1
*** functions.inc.php 9 Apr 2002 23:43:55 -0000 1.47
--- functions.inc.php 22 May 2003 21:40:27 -0000 1.47.2.1
***************
*** 33,36 ****
--- 33,46 ----
include('../header.inc.php');
}
+
+ if (!function_exists('version_compare'))//version_compare() is only
available in PHP4.1+
+ {
+ echo 'phpGroupWare now requires PHP 4.1 or greater.<br>';
+ echo 'Please contact your System Administrator';
+ exit;
+ }
+
+
+
/* If we included the header.inc.php, but it is somehow broken, cover
ourselves... */
if(!defined('PHPGW_SERVER_ROOT') && !defined('PHPGW_INCLUDE_ROOT'))
***************
*** 40,47 ****
}
- if (floor(phpversion()) == 3)
- {
- include(PHPGW_INCLUDE_ROOT .
'/phpgwapi/inc/php3_support_functions.inc.php');
- }
include(PHPGW_INCLUDE_ROOT . '/phpgwapi/inc/common_functions.inc.php');
--- 50,53 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: setup/inc functions.inc.php,1.47,1.47.2.1,
Dave Hall <address@hidden> <=