Fixes for installation phase
[mailer.git] / inc / loader / load_cache-extension.php
index d765f85846991b6f072a894d730cae44cf8d0be4..7ccaf9f4c962037139aa62d454d83f311d876871 100644 (file)
@@ -43,6 +43,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 extension
 if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load extension from cache