Change to phpversion()

This commit is contained in:
Miles Lott 2001-04-21 12:31:56 +00:00
parent ac37f5b6da
commit f79ab9c194

View File

@ -59,7 +59,7 @@
/* Display code */
$phpgw_setup->show_header($phpgw_info["setup"]["header_msg"]);
if (PHP_VERSION < "3.0.16") {
if (phpversion() < "3.0.16") {
echo "You appear to be running an old version of PHP. It its recommend that you upgrade "
. "to a new version. Older version of PHP might not run phpGroupWare correctly, if at all."
. "Please upgrade to at least version 3.0.16.";