From: Thijs K. <ki...@us...> - 2002-10-29 19:02:01
|
Update of /cvsroot/squirrelmail/squirrelmail/plugins/bug_report In directory usw-pr-cvs1:/tmp/cvs-serv20700/plugins/bug_report Modified Files: Tag: SM-1_2-STABLE setup.php Log Message: Introduce new function for checking the available php version. This should also fix some locale issues with checking the php version as reported by Jonathan. Index: setup.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/bug_report/setup.php,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -u -w -r1.2.2.2 -r1.2.2.3 --- setup.php 6 Sep 2002 05:52:17 -0000 1.2.2.2 +++ setup.php 29 Oct 2002 19:01:25 -0000 1.2.2.3 @@ -41,7 +41,7 @@ function bug_report_save() { global $username,$data_dir; - if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) { + if ( !check_php_version(4,1) ) { global $_POST; } |