]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load_cache-refdepths.php
Fixes for installation phase
[mailer.git] / inc / loader / load_cache-refdepths.php
index 7b3b3157d2ddf2a60043712d9f74246d610c3828..5bb6ab76d832c019e33b69e988b1474b6f7a2788 100644 (file)
@@ -41,6 +41,9 @@ if (!defined('__SECURITY')) {
        die();
 }
 
+// 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 (refdepths)...
 if (($GLOBALS['cache_instance']->loadCacheFile('refdepths')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load referal system from cache