X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Floader%2Fload-modules.php;h=a0831eae223c8afb6f42399c5e69aa9896102b0a;hp=2dda2da8d6db3e83dd2f418cc4974a8aee49b26d;hb=c6e62b16b4474ead6b180a5b9648906459d846da;hpb=ec9f020e34a9f2029a2ea0969564dda015beca8a diff --git a/inc/loader/load-modules.php b/inc/loader/load-modules.php index 2dda2da8d6..a0831eae22 100644 --- a/inc/loader/load-modules.php +++ b/inc/loader/load-modules.php @@ -38,10 +38,10 @@ // 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 module registry (mod_reg)... if (($GLOBALS['cache_instance']->loadCacheFile('modules')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {