]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load_cache-refsystem.php
New wrapper functions introduced
[mailer.git] / inc / loader / load_cache-refsystem.php
index 049a8d8143176bcb2bebfd7400e8d54b2c0ca8a5..3128736316ed7c279786637f74330e2407810456 100644 (file)
@@ -49,7 +49,7 @@ if (isInstallationPhase()) return;
 if (($GLOBALS['cache_instance']->loadCacheFile('refsystem')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load referal system from cache
        $GLOBALS['cache_array']['refsystem'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif (getScriptOutputMode() != 1) {
+} elseif (isHtmlOutputMode()) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();