Browse Source

Ticket #4409 - Timeline: item cache must use bx_site_hash in actual key (file) name.

AntonLV 3 years ago
parent
commit
796594e038
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/boonex/timeline/classes/BxTimelineConfig.php

+ 1 - 1
modules/boonex/timeline/classes/BxTimelineConfig.php

@@ -636,7 +636,7 @@ class BxTimelineConfig extends BxBaseModNotificationsConfig
 
     public function getCacheItemKey($iId, $sPostfix = '')
     {
-        return $this->getPrefix('cache_item') . $iId . (bx_is_mobile() ? '_m' : '') . '_r' . bx_get_device_pixel_ratio() . '_' . (!empty($sPostfix) ? '_' . $sPostfix : '') . '.php';
+        return $this->getPrefix('cache_item') . $iId . (bx_is_mobile() ? '_m' : '') . '_r' . bx_get_device_pixel_ratio() . (!empty($sPostfix) ? '_' . $sPostfix : '') . '_' . bx_site_hash() . '.php';
     }
 
     public function getCacheHotKey()