Backwards compatibility for config files < rev. 1.113
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -5,22 +5,26 @@ 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']
|
||||||
* config.inc.php3, index.php3, left.php3, libraries/common.lib.php3:
|
* config.inc.php3, index.php3, left.php3, libraries/common.lib.php3:
|
||||||
default tab selection is now customizable from config.inc.php3.
|
default tab selection is now customizable from config.inc.php3.
|
||||||
|
|
||||||
2002-06-28 Olivier L. M<>ller <om@omnis.ch>
|
2002-06-28 Olivier L. M<>ller <om@omnis.ch>
|
||||||
* ANNOUNCE.txt: preparing 2.3.0 announcement... Feel free
|
* ANNOUNCE.txt: preparing 2.3.0 announcement... Feel free
|
||||||
to improve and check
|
to improve and check
|
||||||
|
|
||||||
2002-06-28 Marc Delisle <lem9@users.sourceforge.net>
|
2002-06-28 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_change.php3, tbl_properties_common.php3,
|
* tbl_change.php3, tbl_properties_common.php3,
|
||||||
new libraries/db_table_exists.lib.php3: menu on insert/edit
|
new libraries/db_table_exists.lib.php3: menu on insert/edit
|
||||||
|
|
||||||
2002-06-27 Marc Delisle <lem9@users.sourceforge.net>
|
2002-06-27 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* sql.php3, db_details_db_info.php3, db_details_links.php3: bug with a
|
* sql.php3, db_details_db_info.php3, db_details_links.php3: bug with a
|
||||||
Select and no table
|
Select and no table
|
||||||
* lang/slovak-iso updates, thanks to Lubos Klokner
|
* lang/slovak-iso updates, thanks to Lubos Klokner
|
||||||
* Documentation.html: faq about silent column type changing
|
* Documentation.html: faq about silent column type changing
|
||||||
|
@@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -495,8 +495,8 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
if (empty($cfg['PmaAbsoluteUri'])) {
|
if (empty($cfg['PmaAbsoluteUri'])) {
|
||||||
|
|
||||||
$DisplayPmaAbsoluteUriWarning = 1;
|
$DisplayPmaAbsoluteUriWarning = 1;
|
||||||
|
|
||||||
// Setup a default value to let the people and lazy syadmins work anyway,
|
// Setup a default value to let the people and lazy syadmins work anyway,
|
||||||
// but display a big warning on the main.php3 page. --Olivier
|
// but display a big warning on the main.php3 page. --Olivier
|
||||||
|
|
||||||
$cfg['PmaAbsoluteUri'] = (!empty($HTTP_SERVER_VARS['HTTPS']) ? 'https' : 'http') . '://'
|
$cfg['PmaAbsoluteUri'] = (!empty($HTTP_SERVER_VARS['HTTPS']) ? 'https' : 'http') . '://'
|
||||||
@@ -513,7 +513,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Make sure $cfg['DefaultTabDatabase'] and $cfg['DefaultTabTable'] are set.
|
* Make sure $cfg['DefaultTabDatabase'] and $cfg['DefaultTabTable'] are set.
|
||||||
* Todo: check if it is set to a *valid* value.
|
* Todo: check if it is set to a *valid* value.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@@ -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