]> git.mxchange.org Git - mailer.git/blobdiff - inc/load_config.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / load_config.php
index 51b4aeee1607715b11f64d5577d245049179b88a..4fac605313e3569cbb7e65f58074aca38389272c 100644 (file)
@@ -56,7 +56,7 @@ if ((isIncludeReadable('inc/cache/config-local.php')) && (isIncludeReadable('inc
        $GLOBALS['mxchange_installing'] = true;
 
        // Define default main_title here
-       define('MAIN_TITLE', 'Your mail-exchange title');
+       setConfigEntry('MAIN_TITLE', 'Your mail-exchange title');
 
        // Set output mode here
        setConfigEntry('OUTPUT_MODE', 'render');
@@ -75,9 +75,9 @@ if ((isIncludeReadable('inc/cache/config-local.php')) && (isIncludeReadable('inc
 } elseif (isInstalling()) {
        // Set some essential constants
        // @TODO Rewrite them to avoid this else block
-       define('MAIN_TITLE', 'Your mail-exchanger title');
-       define('SLOGAN'    , 'Your cool slogan here');
-       define('WEBMASTER' , 'you@some-hoster.tld.invalid');
+       setConfigEntry('MAIN_TITLE', 'Your mail-exchanger title');
+       setConfigEntry('SLOGAN'    , 'Your cool slogan here');
+       setConfigEntry('WEBMASTER' , 'you@some-hoster.tld.invalid');
 
        // Set output mode here
        setConfigEntry('OUTPUT_MODE', 'render');