[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/starter.inc.php, 1.1.1.1.2.34
From: |
nomail |
Subject: |
[Phpgroupware-cvs] api/starter.inc.php, 1.1.1.1.2.34 |
Date: |
Sun, 23 May 2004 09:21:11 -0000 |
Update of /api
Modified Files:
Branch: proposal-branch
starter.inc.php
date: 2004/05/08 01:15:00; author: jengo; state: Exp; lines: +3 -4
Log Message:
Added proper PHP version checking
=====================================================================
Index: api/starter.inc.php
diff -u api/starter.inc.php:1.1.1.1.2.33 api/starter.inc.php:1.1.1.1.2.34
--- api/starter.inc.php:1.1.1.1.2.33 Fri Apr 16 20:59:49 2004
+++ api/starter.inc.php Sat May 8 01:15:00 2004
@@ -35,8 +35,7 @@
/****************************************************************************\
* If running in < PHP4.x, then force admin to upgrade
*
\****************************************************************************/
-
- if (floor(phpversion()) == 3)
+ if (version_compare(phpversion(),'4.1','<'))
{
echo 'phpGroupWare now requires PHP 4.1 or greater.<br>';
echo 'Please contact your System Administrator';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/starter.inc.php, 1.1.1.1.2.34,
nomail <=