From: <var...@us...> - 2010-06-17 10:15:54
|
Revision: 7540 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7540&view=rev Author: vargenau Date: 2010-06-17 10:15:47 +0000 (Thu, 17 Jun 2010) Log Message: ----------- Check that PHP version is at least 4.3.10 Modified Paths: -------------- trunk/lib/main.php Modified: trunk/lib/main.php =================================================================== --- trunk/lib/main.php 2010-06-17 09:36:41 UTC (rev 7539) +++ trunk/lib/main.php 2010-06-17 10:15:47 UTC (rev 7540) @@ -1321,6 +1321,11 @@ } function main () { + + if (version_compare(PHP_VERSION, '4.3.10', '<')) { + exit(_("Your PHP version is too old. You must have at least PHP 4.3.10")); + } + if ( !USE_DB_SESSION ) validateSessionPath(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |