warnings for old MySQL or PHP version

This commit is contained in:
Marc Delisle
2003-11-18 16:21:50 +00:00
parent 24af1f2962
commit 469c79d599
2 changed files with 21 additions and 0 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-11-18 Marc Delisle <lem9@users.sourceforge.net>
* lang/*: strUpgradeMySQL -> strUpgrade with one more parameter
for the product name
* main.php: new warnings for old PHP or MySQL versions
2003-11-18 Michal Cihar <nijel@users.sourceforge.net>
* libraries/display_tbl.lib.php: Can kill more proceses (bug #844353).

View File

@@ -637,6 +637,22 @@ if (PMA_PHP_INT_VERSION == 40203 && @extension_loaded('mbstring')) {
echo '<p class="warning">' . $strPHP40203 . '</p>' . "\n";
}
/**
* Warning for old PHP version
*/
if (PMA_PHP_INT_VERSION < 40100) {
echo '<p class="warning">' . sprintf($strUpgrade, 'PHP', '4.1.x') . '</p>' . "\n";
}
/**
* Warning for old MySQL version
*/
if (PMA_MYSQL_INT_VERSION < 32336) {
echo '<p class="warning">' . sprintf($strUpgrade, 'MySQL', '3.23.36') . '</p>' . "\n";
}
/**
* Displays the footer
*/