X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Floader%2Fload-refsystem.php;h=0cef9084bd00dfa9503a837ef09277829455099e;hp=55cf614561b50c1cb7013e1f4c3551db85ad5b1d;hb=c6e62b16b4474ead6b180a5b9648906459d846da;hpb=ec9f020e34a9f2029a2ea0969564dda015beca8a diff --git a/inc/loader/load-refsystem.php b/inc/loader/load-refsystem.php index 55cf614561..0cef9084bd 100644 --- a/inc/loader/load-refsystem.php +++ b/inc/loader/load-refsystem.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 referal system (refsystem)... if (($GLOBALS['cache_instance']->loadCacheFile('refsystem')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) { // Load referal system from cache