Fixes for installation phase
[mailer.git] / inc / loader / load_cache-config.php
index 8fd6c9aecfd5fd7d6d9c2432ec2e0dd1ce085aa8..bb4c47583524c6856167acd478545f9f5937d02b 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 configuration (config)...
 if (($GLOBALS['cache_instance']->loadCacheFile('config')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load config from cache