]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-functions.php
Default language set to 'de'
[mailer.git] / inc / config-functions.php
index fe1e3d7058fa4bfaeef515a234573d22846de5e5..14b6d07254ed65f43094945e0e08aa61c5d165a3 100644 (file)
@@ -50,15 +50,21 @@ 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(
        $GLOBALS['config'] = array(
-               'code_length'   => 0,
-               'patch_level'   => 0,
-               'last_update'   => time(),
-               'DEBUG_MODE'    => 'N',
-               'sql_count'     => 0,
-               'num_templates' => 0,
-               'default_theme' => 'default',
+               'code_length'      => 0,
+               'patch_level'      => 0,
+               'last_update'      => time(),
+               'DEFAULT_LANG'     => 'de',
+               'DEBUG_MODE'       => 'N',
+               'DEBUG_RESET'      => 'N',
+               'DEBUG_MONTHLY'    => 'N',
+               'DEBUG_WEEKLY'     => 'N',
+               'DEBUG_REGEX'      => 'N',
+               'ADMIN_REGISTERED' => 'N',
+               'sql_count'        => 0,
+               'num_templates'    => 0,
+               'default_theme'    => 'default',
        );
 }
 
        );
 }