Backwards compatibility.

This commit is contained in:
Alexander M. Turek
2003-02-02 15:01:51 +00:00
parent d03e36e27e
commit 4e72fdbd35
3 changed files with 17 additions and 5 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-02-02 Alexander M. Turek <rabus@users.sourceforge.net>
* libiraries/common.lib.php3, libraries/config_import.lib.php3: Backwards
compatibility.
2003-02-02 Michal Cihar <nijel@users.sourceforge.net>
* lang/czech: Updated.
* lang/sort_lang.sh: This needs bash.

View File

@@ -130,7 +130,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
* Includes compatibility code for older config.inc.php3 revisions
* if necessary
*/
if (!isset($cfg['FileRevision']) || (int) substr($cfg['FileRevision'], 13, 3) < 153) {
if (!isset($cfg['FileRevision']) || (int) substr($cfg['FileRevision'], 13, 3) < 155) {
include('./libraries/config_import.lib.php3');
}

View File

@@ -641,8 +641,16 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')) {
$cfg['SQLValidator']['password'] = '';
}
if (!isset($cfg['SQLValidator']['DisplayCopyright'])) {
$cfg['SQLValidator']['DisplayCopyright'] = TRUE;
if (!isset($cfg['DBG']['enable'])) {
$cfg['DBG']['enable'] = FALSE;
}
if (!isset($cfg['DBG']['profile']['enable'])) {
$cfg['DBG']['profile']['enable'] = FALSE;
}
if (!isset($cfg['DBG']['profile']['threshold'])) {
$cfg['DBG']['profile']['threshold'] = 0.5;
}
if (!isset($cfg['SQP']['enable'])) {