A lot rewrites from double-quote to single-quote, some fixes for extension handling...
[mailer.git] / inc / config-functions.php
index 66ae2e02f620be1ca36c95fbf5f12100ea948bc6..b977e2af621fc45d220b16ea487d2af6cf9e0205 100644 (file)
@@ -127,10 +127,10 @@ function loadConfiguration ($no="0") {
                } // END - foreach
 
                // Count cache hits if exists
-               if ((isset($_CONFIG['cache_hits'])) && (EXT_IS_ACTIVE("cache"))) {
+               if ((isset($_CONFIG['cache_hits'])) && (EXT_IS_ACTIVE('cache'))) {
                        $_CONFIG['cache_hits']++;
                } // END - if
-       } elseif ((!EXT_IS_ACTIVE("cache")) || (!isset($GLOBALS['cache_array']['config'][$no]))) {
+       } elseif ((!EXT_IS_ACTIVE('cache')) || (!isset($GLOBALS['cache_array']['config'][$no]))) {
                // Load config from DB
                $result_config = SQL_QUERY_ESC("SELECT * FROM `{!_MYSQL_PREFIX!}_config` WHERE config=%d LIMIT 1",
                        array(bigintval($no)), __FUNCTION__, __LINE__);