[Openfirst-cvscommit] base/config first.php,1.69,1.70
Brought to you by:
xtimg
From: Jamie <ast...@us...> - 2006-02-23 17:37:29
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29419/config Modified Files: first.php Log Message: Added minimum version warning. Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** first.php 23 Feb 2006 16:38:47 -0000 1.69 --- first.php 23 Feb 2006 17:37:23 -0000 1.70 *************** *** 194,197 **** --- 194,204 ---- then you may receive a collection of errors after submitting this form).</p> </div> + <?php + if (version_compare(OPENFIRST_MINIMUM_PHP_VERSION, phpversion(), '>')) { + echo '<p class="warning">Your version of PHP ('.htmlentities(phpversion()).') + is less than that supported ('.htmlentities(OPENFIRST_MINIMUM_PHP_VERSION).'). + Use at your own risk.</p>'; + } + ?> <form action="<?php echo htmlentities("http://$server$basepath/config/first.php"); ?>" method="post"> <fieldset> |