// 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;
}
-// 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