]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load-themes.php
Swapped all
[mailer.git] / inc / loader / load-themes.php
index c482fc53e8696524b9f96aebe9aca654f8df2e75..123d538d8da9221a8223b40b0e5ab0c0ef4d43c3 100644 (file)
@@ -39,8 +39,8 @@
 if (!defined('__SECURITY')) {
        die();
 } elseif (isInstallationPhase()) {
-       // Use this code if you don't want to run this cache loader on installation phase
-       return;
+       // Do not run in installation phase
+       return FALSE;
 } elseif (!isExtensionActive('theme')) {
        // Skip this loader
        return FALSE;
@@ -70,7 +70,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_in
 
        // Remove dummy array
        unset($cache);
-} elseif (isHtmlOutputMode()) {
+} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();