// Some security stuff...
if (!defined('__SECURITY')) {
die();
+} elseif (isInstallationPhase()) {
+ // Use this code if you don't want to run this cache loader on installation phase
+ return;
} elseif (!isExtensionActive('theme')) {
// Skip this loader
return false;
}
-// 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 (themes)...
if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_instance']->extensionVersionMatches('theme'))) {
// Load referal system from cache