]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load_cache-modules.php
Fixes for installation phase
[mailer.git] / inc / loader / load_cache-modules.php
index 8c66caa8a5e6066a53fb15698a227a681c02130a..a1152a0d77e27d0ff7839b58fcedbd114218f19f 100644 (file)
@@ -41,6 +41,9 @@ if (!defined('__SECURITY')) {
        die();
 } // END - if
 
+// Use this code if you don't want to run this cache loader on installation phase
+if (isInstallationPhase()) return;
+
 // Next cached table is the module registry (mod_reg)...
 if (($GLOBALS['cache_instance']->loadCacheFile('modules')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load cache