X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fload_cache.php;h=69aec9887beebeecad67665665860d7fc38c1d9c;hp=6458778e676e7a0ef9db5ab550300a90dfaa8fc3;hb=e1653405d28923c78b2e292125306ccf61138f24;hpb=33a744d80e9c5ec1c13e8f643143146166975e9b diff --git a/inc/load_cache.php b/inc/load_cache.php index 6458778e67..69aec9887b 100644 --- a/inc/load_cache.php +++ b/inc/load_cache.php @@ -112,7 +112,7 @@ if (($CACHE->cache_file("admins", true) == true)) unset($ADMINS); } } - elseif (($CONFIG['cache_admins'] == "Y") && ($CSS != "1") && ($CSS != "-1")) + elseif (($CONFIG['cache_admins'] == 'Y') && ($CSS != "1") && ($CSS != "-1")) { // Create cache file $CACHE->cache_init("ADMINS"); @@ -185,7 +185,7 @@ if ($CACHE->cache_file("mod_reg", true) == true) } } } - elseif (($CONFIG['cache_modreg'] == "Y") && ($CSS != "1") && ($CSS != "-1")) + elseif (($CONFIG['cache_modreg'] == 'Y') && ($CSS != "1") && ($CSS != "-1")) { // Create cache file here $CACHE->cache_init("MODULES"); @@ -241,7 +241,7 @@ if ($CACHE->cache_file("config", true) == true) unset($CFG_CACHE); } } - elseif (($CONFIG['cache_config'] == "Y") && ($CSS != "1") && ($CSS != "-1")) + elseif (($CONFIG['cache_config'] == 'Y') && ($CSS != "1") && ($CSS != "-1")) { // Create cache file here $CACHE->cache_init("CONFIG"); @@ -286,7 +286,7 @@ if ($CACHE->cache_file("refsystem", true) == true) unset($REF_SYSTEM); } } - elseif (($CONFIG['cache_refsys'] == "Y") && ($CSS != "1") && ($CSS != "-1")) + elseif (($CONFIG['cache_refsys'] == 'Y') && ($CSS != "1") && ($CSS != "-1")) { // Create cache file here $CACHE->cache_init("REFSYSTEM"); @@ -331,7 +331,7 @@ if ($CACHE->cache_file("refdepths", true) == true) unset($REF_DEPTHS); } } - elseif (($CONFIG['cache_refdepth'] == "Y") && ($CSS != "1") && ($CSS != "-1")) + elseif (($CONFIG['cache_refdepth'] == 'Y') && ($CSS != "1") && ($CSS != "-1")) { // Create cache file here $CACHE->cache_init("REFDEPTHS"); @@ -382,7 +382,7 @@ if (GET_EXT_VERSION("admins") >= "0.3") } } } - elseif (($CONFIG['cache_acls'] == "Y") && ($CSS != "1") && ($CSS != "-1")) + elseif (($CONFIG['cache_acls'] == 'Y') && ($CSS != "1") && ($CSS != "-1")) { // Create cache file here $CACHE->cache_init("ADMINS_ACLS");