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$ $Id$
$Source$ $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> 2003-02-02 Michal Cihar <nijel@users.sourceforge.net>
* lang/czech: Updated. * lang/czech: Updated.
* lang/sort_lang.sh: This needs bash. * lang/sort_lang.sh: This needs bash.
@@ -14,7 +18,7 @@ $Source$
* lang/norwegian: update, thanks to Sven-Erik Andersen * lang/norwegian: update, thanks to Sven-Erik Andersen
* libraries/kanji-encoding.lib.php3 bug fix, thanks to Yukihiro Kawada * libraries/kanji-encoding.lib.php3 bug fix, thanks to Yukihiro Kawada
* libraries/dbg/setup.php3, lang/*: generic $strCantLoad * libraries/dbg/setup.php3, lang/*: generic $strCantLoad
(later when we get enough translations, (later when we get enough translations,
we can use it instead of $strCandLoadMySQL) we can use it instead of $strCandLoadMySQL)
2003-02-01 Robin Johnson <robbat2@users.sourceforge.net> 2003-02-01 Robin Johnson <robbat2@users.sourceforge.net>
@@ -24,7 +28,7 @@ $Source$
* Documentation.html: Removed a bit of duplication in [7.4] and the * Documentation.html: Removed a bit of duplication in [7.4] and the
Developers section Developers section
* libraries/dbg: New directory for DBG code * libraries/dbg: New directory for DBG code
* libraries/dbg/setup.php3: * libraries/dbg/setup.php3:
- DBG initialization code, including module support - DBG initialization code, including module support
* libraries/dbg/profiling.php3: Profiling code * libraries/dbg/profiling.php3: Profiling code
* lang/*: New strings added for DBG extension * lang/*: New strings added for DBG extension

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 * Includes compatibility code for older config.inc.php3 revisions
* if necessary * 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'); include('./libraries/config_import.lib.php3');
} }

View File

@@ -641,8 +641,16 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')) {
$cfg['SQLValidator']['password'] = ''; $cfg['SQLValidator']['password'] = '';
} }
if (!isset($cfg['SQLValidator']['DisplayCopyright'])) { if (!isset($cfg['DBG']['enable'])) {
$cfg['SQLValidator']['DisplayCopyright'] = TRUE; $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'])) { if (!isset($cfg['SQP']['enable'])) {