config_import.lib should merge default settings

This commit is contained in:
Alexander M. Turek
2004-06-14 23:14:21 +00:00
parent 33ac9f3150
commit 7a30c07bec
2 changed files with 9 additions and 6 deletions

View File

@@ -827,16 +827,16 @@ if (!isset($cfg['ReplaceHelpImg'])) {
$cfg['ReplaceHelpImg'] = TRUE;
}
if (!isset($cfg['ThemePath'])){
$cfg['ThemePath']='';
$cfg['ThemeDefault']='';
$cfg['ThemeManager'] = FALSE;
if (!isset($cfg['ThemePath'])) {
$cfg['ThemePath'] = 'themes';
$cfg['ThemeDefault'] = 'original';
$cfg['ThemeManager'] = TRUE;
} else {
if (!isset($cfg['ThemeDefault'])){
$cfg['ThemeDefault']='original';
$cfg['ThemeDefault'] = 'original';
}
if (!isset($cfg['ThemeManager'])){
$cfg['ThemeManager'] = FALSE;
$cfg['ThemeManager'] = TRUE;
}
}