Backwards compatibility for config files < rev. 1.113
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2002-06-29 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||||
|
* libraries/config_import.lib.php3, libraries/common.lib.php3:
|
||||||
|
Backwards compatibility for config files < rev. 1.113.
|
||||||
|
|
||||||
2002-06-29 Olivier L. M<>ller <om@omnis.ch>
|
2002-06-29 Olivier L. M<>ller <om@omnis.ch>
|
||||||
* Documentation.html: docs about $cfg['DefaultTabDatabase']
|
* Documentation.html: docs about $cfg['DefaultTabDatabase']
|
||||||
and $cfg['DefaultTabTable']
|
and $cfg['DefaultTabTable']
|
||||||
|
@@ -136,7 +136,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
include('./libraries/defines.lib.php3');
|
include('./libraries/defines.lib.php3');
|
||||||
|
|
||||||
// For compatibility with old config.inc.php3
|
// For compatibility with old config.inc.php3
|
||||||
if (!isset($cfg['FileRevision']) || (int)substr($cfg['FileRevision'],13,3) < 110) {
|
if (!isset($cfg['FileRevision']) || (int)substr($cfg['FileRevision'],13,3) < 113) {
|
||||||
include('./libraries/config_import.lib.php3');
|
include('./libraries/config_import.lib.php3');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -262,6 +262,10 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($cfg['SuggestDBName'])) {
|
||||||
|
$cfg['SuggestDBName'] = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($cfg['ShowBlob'])) {
|
if (!isset($cfg['ShowBlob'])) {
|
||||||
if (isset($cfgShowBlob)) {
|
if (isset($cfgShowBlob)) {
|
||||||
$cfg['ShowBlob'] = $cfgShowBlob;
|
$cfg['ShowBlob'] = $cfgShowBlob;
|
||||||
@@ -358,6 +362,18 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($cfg['DefaultTabDatabase'])
|
||||||
|
// rabus: config.inc.php3 rev. 1.112 had this default value.
|
||||||
|
|| $cfg['DefaultTabDatabase'] == 'Structure') {
|
||||||
|
$cfg['DefaultTabDatabase'] = 'db_details_structure.php3';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!isset($cfg['DefaultTabTable'])
|
||||||
|
// rabus: config.inc.php3 rev. 1.112 had this default value.
|
||||||
|
|| $cfg['DefaultTabTable'] == 'Structure') {
|
||||||
|
$cfg['DefaultTabTable'] = 'tbl_properties_structure.php3';
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($cfg['ManualBaseShort'])) {
|
if (!isset($cfg['ManualBaseShort'])) {
|
||||||
if (isset($cfgManualBaseShort)) {
|
if (isset($cfgManualBaseShort)) {
|
||||||
$cfg['ManualBaseShort'] = $cfgManualBaseShort;
|
$cfg['ManualBaseShort'] = $cfgManualBaseShort;
|
||||||
|
Reference in New Issue
Block a user