]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load-themes.php
Renamed templates + added some filters for mail order
[mailer.git] / inc / loader / load-themes.php
index a349240e19cb57f696ddb9c849882e588bdf47b0..916312f6380d7c810ad908b28a561f75d81ae36a 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 } elseif (!isExtensionActive('theme')) {
        // Skip this loader
@@ -70,7 +71,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_in
 
        // Remove dummy array
        unset($cache);
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();