]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load-admins.php
Wrapper functions introduced for configuration, loaders refactured:
[mailer.git] / inc / loader / load-admins.php
index 0ae03bdffe1696faf571ac202e29d58449293a8c..eb3d516155c67cdcd592b458c4418fce5d0e7be8 100644 (file)
 // Some security stuff...
 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;
+} elseif (isInstallationPhase()) {
+       // Use this code if you don't want to run this cache loader on installation phase
+       return;
+}
 
 // Let's start with the admins table...
 if (($GLOBALS['cache_instance']->loadCacheFile('admin')) && ($GLOBALS['cache_instance']->extensionVersionMatches('admins'))) {