SF.net SVN: postfixadmin:[576] trunk/setup.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2009-03-13 20:49:29
|
Revision: 576 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=576&view=rev Author: GingerDog Date: 2009-03-13 20:49:05 +0000 (Fri, 13 Mar 2009) Log Message: ----------- require php5 Modified Paths: -------------- trunk/setup.php Modified: trunk/setup.php =================================================================== --- trunk/setup.php 2009-03-13 20:48:24 UTC (rev 575) +++ trunk/setup.php 2009-03-13 20:49:05 UTC (rev 576) @@ -63,9 +63,14 @@ // if ($f_phpversion == 1) { - if (phpversion() < 5) $phpversion = 4; - if (phpversion() >= 5) $phpversion = 5; - print "<li>PHP version " . phpversion () . "</li>\n"; + if (phpversion() < 5) { + print "<li><b>Error: Depends on: PHP v5</b><br /></li>\n"; + $error += 1; + } + if (phpversion() >= 5) { + $phpversion = 5; + print "<li>PHP version " . phpversion () . "</li>\n"; + } } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |