X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Floader%2Fload-config.php;h=6c61f8ea2dfe67aaf5a197da2ba2c6945828d638;hp=550f6028b276444beb1aee41fa0f0c6c89791f28;hb=c6e62b16b4474ead6b180a5b9648906459d846da;hpb=ec9f020e34a9f2029a2ea0969564dda015beca8a diff --git a/inc/loader/load-config.php b/inc/loader/load-config.php index 550f6028b2..6c61f8ea2d 100644 --- a/inc/loader/load-config.php +++ b/inc/loader/load-config.php @@ -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