Backwards compatibility
This commit is contained in:
@@ -7,6 +7,8 @@ $Source$
|
||||
|
||||
2002-09-21 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* lang/german-*.inc.php3: Updates.
|
||||
* libraries/common.lib.php3, libraries/config_import.lib.php3: Backwards
|
||||
compatibility for config.inc.php3 < rev 1.144.
|
||||
|
||||
2002-09-20 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/display_tbl.lib.php3: bug 612117, vertical view and
|
||||
|
@@ -128,7 +128,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) < 141) {
|
||||
if (!isset($cfg['FileRevision']) || (int) substr($cfg['FileRevision'], 13, 3) < 144) {
|
||||
include('./libraries/config_import.lib.php3');
|
||||
}
|
||||
|
||||
|
@@ -338,6 +338,10 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')){
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($cfg['CharEditing'])) {
|
||||
$cfg['CharEditing'] = 'input';
|
||||
}
|
||||
|
||||
if (!isset($cfg['ZipDump'])) {
|
||||
if (isset($cfgZipDump)) {
|
||||
$cfg['ZipDump'] = $cfgZipDump;
|
||||
@@ -545,22 +549,12 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')){
|
||||
}
|
||||
|
||||
if (!isset($cfg['CharTextareaCols'])) {
|
||||
if (isset($cfgCharTextareaCols)) {
|
||||
$cfg['CharTextareaCols'] = $cfgCharTextareaCols;
|
||||
unset($cfgCharTextareaCols);
|
||||
} else {
|
||||
$cfg['CharTextareaCols'] = 40;
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($cfg['CharTextareaRows'])) {
|
||||
if (isset($cfgCharTextareaRows)) {
|
||||
$cfg['CharTextareaRows'] = $cfgCharTextareaRows;
|
||||
unset($cfgCharTextareaRows);
|
||||
} else {
|
||||
$cfg['CharTextareaRows'] = 2;
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($cfg['LimitChars'])) {
|
||||
if (isset($cfgLimitChars)) {
|
||||
|
Reference in New Issue
Block a user