Make code more redable, default to MySQL 5.0 documentation as it is latest stable version.
This commit is contained in:
@@ -10,6 +10,8 @@ $Source$
|
||||
Marc).
|
||||
* libraries/common.lib.php, lang/*: Translate message that has been
|
||||
ignored for 2.7.0 release.
|
||||
* libraries/common.lib.php: Make code more redable, default to MySQL 5.0
|
||||
documentation as it is latest stable version.
|
||||
|
||||
2005-11-20 Marc Delisle <lem9@users.sourceforge.net>
|
||||
### 2.7.0-rc1 released
|
||||
|
@@ -580,14 +580,15 @@ if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
|
||||
case 'viewable':
|
||||
default:
|
||||
if (empty($link)) $link = 'index';
|
||||
$mysql = '4.1';
|
||||
if ( ! defined( 'PMA_MYSQL_INT_VERSION' )
|
||||
|| PMA_MYSQL_INT_VERSION < 50000 ) {
|
||||
$mysql = '4.1';
|
||||
} elseif (PMA_MYSQL_INT_VERSION >= 50100) {
|
||||
$mysql = '5.1';
|
||||
} elseif (PMA_MYSQL_INT_VERSION >= 50000) {
|
||||
$mysql = '5.0';
|
||||
$mysql = '5.0';
|
||||
if (defined( 'PMA_MYSQL_INT_VERSION')) {
|
||||
if (PMA_MYSQL_INT_VERSION < 50000) {
|
||||
$mysql = '4.1';
|
||||
} elseif (PMA_MYSQL_INT_VERSION >= 50100) {
|
||||
$mysql = '5.1';
|
||||
} elseif (PMA_MYSQL_INT_VERSION >= 50000) {
|
||||
$mysql = '5.0';
|
||||
}
|
||||
}
|
||||
$url = $cfg['MySQLManualBase'] . '/' . $mysql . '/en/' . $link . '.html';
|
||||
break;
|
||||
|
Reference in New Issue
Block a user