// 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 (!isExtensionInstalled('imprint')) {
// Not not cache if not installed!
return;
}
-// 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('imprint')) && ($GLOBALS['cache_instance']->extensionVersionMatches('imprint'))) {
// Load cache