X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload-modules.php;h=a0831eae223c8afb6f42399c5e69aa9896102b0a;hb=e17685c65d1a48c061b7c4f64c7a23c165430460;hp=2cb56fa01f3cc54b11c3e317b6e6153ea07ba0dc;hpb=cf1c0f69caf5dc2abc2c461ca97696a064456e30;p=mailer.git diff --git a/inc/loader/load-modules.php b/inc/loader/load-modules.php index 2cb56fa01f..a0831eae22 100644 --- a/inc/loader/load-modules.php +++ b/inc/loader/load-modules.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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'))) {