X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Floader%2Fload-themes.php;h=4461adc71ca6d074d3dd1adc4e452de6a5f2857b;hp=0deca53068072853d9d0a80176db761028065807;hb=c6e62b16b4474ead6b180a5b9648906459d846da;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2 diff --git a/inc/loader/load-themes.php b/inc/loader/load-themes.php index 0deca53068..4461adc71c 100644 --- a/inc/loader/load-themes.php +++ b/inc/loader/load-themes.php @@ -38,14 +38,14 @@ // 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; } elseif (!isExtensionActive('theme')) { // Skip this loader return false; } -// 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 (themes)... if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_instance']->extensionVersionMatches('theme'))) { // Load referal system from cache