]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load-
Wrapper functions introduced for configuration, loaders refactured:
[mailer.git] / inc / loader / load-
index d1c1fc375e42e97b348702cf1f3097ceda8f9db9..e3c73b03af64239b1dd0095a949ef2259b815456 100644 (file)
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
 // 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('foo')) && ($GLOBALS['cache_instance']->extensionVersionMatches('foo'))) {
 
 // Let's start with the admins table...
 if (($GLOBALS['cache_instance']->loadCacheFile('foo')) && ($GLOBALS['cache_instance']->extensionVersionMatches('foo'))) {