]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-functions.php
A lot CSS classes rewritten, please update all your themes.
[mailer.git] / inc / config-functions.php
index db003aaf9e824e1dec3b2add7bca41467705a657..e86c97ac6eb3c7ca6c98a2bcbc8f830681a4f0d6 100644 (file)
@@ -79,7 +79,7 @@ function getConfig ($configEntry) {
        // Is the entry there?
        if (!isConfigEntrySet($configEntry)) {
                // Raise an error of missing entries
-               debug_report_bug(__FUNCTION__, __LINE__, sprintf("Configuration entry <em>%s</em> is missing.", $configEntry));
+               debug_report_bug(__FUNCTION__, __LINE__, sprintf("Configuration entry <span class=\"data\">%s</span> is missing.", $configEntry));
        } // END - if
 
        // Return it
@@ -154,7 +154,7 @@ function updateOldConfigFile () {
                '_TABLE_TYPE'        => '_TABLE_TYPE',
                '_DB_TYPE'           => '_DB_TYPE',
                'SMTP_HOSTNAME'      => 'SMTP_HOSTNAME',
-               'SMTP_USER'           => 'SMTP_USER',
+               'SMTP_USER'          => 'SMTP_USER',
                'SMTP_PASSWORD'      => 'SMTP_PASSWORD',
                'ENABLE_BACKLINK'    => 'ENABLE_BACKLINK',
                'MAIN_TITLE'         => 'MAIN_TITLE',
@@ -243,7 +243,7 @@ function updateOldConfigFile () {
                $line = trim($line);
 
                // Is the $MySQL found?
-               if (substr($line, 0, 6) == "\$MySQL") {
+               if (substr($line, 0, 6) == '$MySQL') {
                        // Okay found!
                        $found = true;
                } elseif ($found === true) {