]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-functions.php
Rewrites not to init config in config-functions.php (some still remain, many untested)
[mailer.git] / inc / config-functions.php
index 48e6d0a63af13b9b3f4831a41d78d7ea4c740714..5cbb77db720795f2ecd55b8fdcd638274cd0e81f 100644 (file)
@@ -51,32 +51,21 @@ function initConfig () {
 
        // Set a minimum of configuration, required to by-pass some error triggers in getConfig()
        $GLOBALS['config'] = array(
-               'code_length'         => 0,
-               'patch_level'         => 0,
-               'last_update'         => time(),
-               'activate_xchange'    => 100,
-               'enable_mod_title'    => 'Y',
-               'update_filter_usage' => 'N',
-               'ADMIN_REGISTERED'    => 'N',
-               'MXCHANGE_INSTALLED'  => 'N',
-               'DEFAULT_LANG'        => 'de',
-               'DEFAULT_SALT_LENGTH' => 40,
-               'DEBUG_MODE'          => 'N',
-               'DEBUG_RESET'         => 'N',
-               'DEBUG_MONTHLY'       => 'N',
-               'DEBUG_WEEKLY'        => 'N',
-               'DEBUG_REGEX'         => 'N',
-               'ADMIN_REGISTERED'    => 'N',
-               'sql_count'           => 0,
                'sql_time'            => 0,
+               'sql_count'           => 0,
                'num_templates'       => 0,
-               'default_theme'       => 'default',
-               'verbose_sql'         => 'Y',
-               'def_refid'           => 0,
-               'ENABLE_BACKLINK'     => 'Y',
-               'display_debug_sqls'  => 'N',
+               // 'DEFAULT_SALT_LENGTH' => 40,
+               // 'DEBUG_MODE'          => 'N',
+               // 'DEBUG_RESET'         => 'N',
+               // 'DEBUG_MONTHLY'       => 'N',
+               // 'DEBUG_WEEKLY'        => 'N',
+               // 'DEBUG_REGEX'         => 'N',
+               // 'ADMIN_REGISTERED'    => 'N',
+               // 'verbose_sql'         => 'Y',
+               // 'ENABLE_BACKLINK'     => 'Y',
+               // 'display_debug_sqls'  => 'N',
                // Keep session_save_path to fall-back to php.ini setting
-               'session_save_path'   => '',
+               // 'session_save_path'   => '',
                // For installation phase:
                'SMTP_HOSTNAME'       => '',
                'SMTP_USER'           => '',