Default language set to 'de'
authorRoland Häder <roland@mxchange.org>
Wed, 7 Oct 2009 23:17:39 +0000 (23:17 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 7 Oct 2009 23:17:39 +0000 (23:17 +0000)
inc/config-functions.php

index a4af4d0be71cb681ca33f24fdf729b3237f34f85..14b6d07254ed65f43094945e0e08aa61c5d165a3 100644 (file)
@@ -50,11 +50,12 @@ function initConfig () {
                trigger_error(sprintf("[%s:%s] Configuration is already initialized.", __FUNCTION__, __LINE__));
        } // END - if
 
                trigger_error(sprintf("[%s:%s] Configuration is already initialized.", __FUNCTION__, __LINE__));
        } // END - if
 
-       // Set a minimum dummy configuration
+       // Set a minimum of configuration, required to by-pass some errors triggers in getConfig()
        $GLOBALS['config'] = array(
                'code_length'      => 0,
                'patch_level'      => 0,
                'last_update'      => time(),
        $GLOBALS['config'] = array(
                'code_length'      => 0,
                'patch_level'      => 0,
                'last_update'      => time(),
+               'DEFAULT_LANG'     => 'de',
                'DEBUG_MODE'       => 'N',
                'DEBUG_RESET'      => 'N',
                'DEBUG_MONTHLY'    => 'N',
                'DEBUG_MODE'       => 'N',
                'DEBUG_RESET'      => 'N',
                'DEBUG_MONTHLY'    => 'N',