]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load_cache-them.php
Fixes for installation phase
[mailer.git] / inc / loader / load_cache-them.php
index da82aac80e20248ccd3617a9191baebdf946e0b6..cbf87063a7bfb016a3b764150899c27a34c84c01 100644 (file)
@@ -44,6 +44,9 @@ if (!defined('__SECURITY')) {
        return false;
 }
 
+// Use this code if you don't want to run this cache loader on installation phase
+if (isInstallationPhase()) return;
+
 // Next cached table is the referal system (themes)...
 if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_instance']->extensionVersionMatches('theme'))) {
        // Load referal system from cache