]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Renamed isConfigLoaded() to isConfigurationLoaded()
[mailer.git] / inc / functions.php
index 620a4bbce0fe481ad3f9a2c4e3a09a2bc9799405..d5f455592107ffc037656fec0abf166309df75fd 100644 (file)
@@ -3514,7 +3514,7 @@ function addSqlToDebug ($result, $sqlString, $timing, $F, $L) {
        // Do we have cache?
        if (!isset($GLOBALS['debug_sql_available'])) {
                // Check it and cache it in $GLOBALS
-               $GLOBALS['debug_sql_available'] = ((isExtensionInstalledAndNewer('other', '0.2.2')) && (getConfig('display_debug_sqls') == 'Y'));
+               $GLOBALS['debug_sql_available'] = ((isConfigurationLoaded()) && (isExtensionInstalledAndNewer('other', '0.2.2')) && (getConfig('display_debug_sqls') == 'Y'));
        } // END - if
        
        // Don't execute anything here if we don't need or ext-other is missing
@@ -3545,7 +3545,7 @@ function initCacheInstance () {
        $GLOBALS['cache_instance'] = new CacheSystem();
        if ($GLOBALS['cache_instance']->getStatus() != 'done') {
                // Failed to initialize cache sustem
-               addFatalMessage(__FILE__, __LINE__, "(<font color=\"#0000aa\">".__LINE__."</font>): ".getMessage('CACHE_CANNOT_INITIALIZE'));
+               addFatalMessage(__FILE__, __LINE__, '(<font color="#0000aa">' . __LINE__ . '</font>): ' . getMessage('CACHE_CANNOT_INITIALIZE'));
        } // END - if
 }