]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load-extension.php
Wrapper functions introduced for configuration, loaders refactured:
[mailer.git] / inc / loader / load-extension.php
index 9bc2bd3ed22d94a06ef648081ae90af405421322..aad9cd0ab782e5fac67a1cd14bf99c64592449d4 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;
+}
 
 // Next cached table is the extension
 if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {