]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load-refdepths.php
Wrapper functions introduced for configuration, loaders refactured:
[mailer.git] / inc / loader / load-refdepths.php
index d0109672e5c6da2bdaabb660175dc04557a6f740..e563c8737d851ba42975bd873d7a858b39f4a69b 100644 (file)
 // 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 referal system (refdepths)...
 if (($GLOBALS['cache_instance']->loadCacheFile('refdepths')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load referal system from cache