Fixes for installation phase
[mailer.git] / inc / loader / load_cache-admin.php
index cc4ae544b48862f85c7b67f7b46b7a8de95bb780..93e862d4c5f60c241ba992574b923241f07acc18 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;
+
 // Let's start with the admins table...
 if (($GLOBALS['cache_instance']->loadCacheFile('admins')) && ($GLOBALS['cache_instance']->extensionVersionMatches('admins'))) {
        // Load cache