Fixed MySQLManualType/MySQLManualBase setting.

This commit is contained in:
Michal Čihař
2003-06-03 16:27:52 +00:00
parent bdaf608a4c
commit f9a70ac60c
2 changed files with 9 additions and 5 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-06-03 Michal Cihar <nijel@users.sourceforge.net>
* libraries/config_import.lib.php3: Fixed MySQLManualType/MySQLManualBase
setting.
2003-06-03 Garvin Hicking <me@supergarv.de>
* lang/*, tbl_query_box.php3, Documentation.html, footer.inc.php3:
(Experimental)
@@ -359,4 +363,4 @@ $Source$
* Added scripts/inno2pma (from Ernie Hershey). Please see
Patch Tracker #709383 for further information.
* libraries/display_tbl.lib.php3: Bug #728813 (title for
r
r

View File

@@ -454,17 +454,17 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')) {
$cfg['DefaultTabTable'] = 'tbl_properties_structure.php3';
}
if (!isset($cfg['ManualBase'])) {
if (!isset($cfg['MySQLManualBase'])) {
if (isset($cfgManualBaseShort)) {
$cfg['ManualBase'] = $cfgManualBaseShort;
$cfg['MySQLManualBase'] = $cfgManualBaseShort;
$cfg['MySQLManualType'] = 'old';
unset($cfgManualBaseShort);
} else if (isset($cfg['ManualBaseShort'])) {
$cfg['ManualBase'] = $cfg['ManualBaseShort'];
$cfg['MySQLManualBase'] = $cfg['ManualBaseShort'];
$cfg['MySQLManualType'] = 'old';
unset($cfg['ManualBaseShort']);
} else {
$cfg['ManualBase'] = 'http://www.mysql.com/doc/en';
$cfg['MySQLManualBase'] = 'http://www.mysql.com/doc/en';
$cfg['MySQLManualType'] = 'searchable';
}
}