X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Floader%2Fload-config.php;h=6c61f8ea2dfe67aaf5a197da2ba2c6945828d638;hb=d209e76db84001db79168347308dac1cd855c489;hp=169b9a3343cbafe9011652404cae8a617c8c1840;hpb=71a56610694ff72159223b14238bea230ebb7bcd;p=mailer.git diff --git a/inc/loader/load-config.php b/inc/loader/load-config.php index 169b9a3343..6c61f8ea2d 100644 --- a/inc/loader/load-config.php +++ b/inc/loader/load-config.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,11 +38,11 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); +} elseif (isInstallationPhase()) { + // Use this code if you don't want to run this cache loader on installation phase + return; } -// Use this code if you don't want to run this cache loader on installation phase -if (isInstallationPhase()) return; - // Next cached table is the configuration (config)... if (($GLOBALS['cache_instance']->loadCacheFile('config')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) { // Load config from cache