'ADMIN_REGISTERED' => 'N',
'MXCHANGE_INSTALLED' => 'N',
'DEFAULT_LANG' => 'de',
+ 'DEFAULT_SALT_LENGTH' => 40,
'DEBUG_MODE' => 'N',
'DEBUG_RESET' => 'N',
'DEBUG_MONTHLY' => 'N',
if (isConfigEntrySet($matches[1][$key])) {
// Set it for caching
$GLOBALS['compile_config'][$matches[1][$key]] = getConfig($matches[1][$key]);
- } else {
+ } elseif (isConfigEntrySet('default_' . strtoupper($matches[1][$key]))) {
+ // Use default value
+ $GLOBALS['compile_config'][$matches[1][$key]] = getConfig('DEFAULT_' . strtoupper($matches[1][$key]));
+ } elseif (isMessageIdValid('DEFAULT_' . strtoupper($matches[1][$key]))) {
// No config, try the language system
$GLOBALS['compile_config'][$matches[1][$key]] = getMessage('DEFAULT_' . strtoupper($matches[1][$key]));
+ } else {
+ // Unhandled!
+ $GLOBALS['compile_config'][$matches[1][$key]] = '!' . $matches[1][$key] . '!';
}
} // END - if