From b264d1ae206f6ca2e295bcc0fb106074348aaa1e Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 17 May 2018 15:51:09 +0300 Subject: [PATCH] Flextype 0.4.0 --- flextype/Content.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flextype/Content.php b/flextype/Content.php index dfc59fed..8316552a 100755 --- a/flextype/Content.php +++ b/flextype/Content.php @@ -143,7 +143,7 @@ class Content // Page cache id if (Filesystem::fileExists($file_path)) { - $page_cache_id = md5('page' . filemtime($file_path) . (($raw === true) ? 'true' : 'false')); + $page_cache_id = md5('page' . $file_path . filemtime($file_path) . (($raw === true) ? 'true' : 'false')); } // Try to get page from cache @@ -282,7 +282,7 @@ class Content $block_cache_id = ''; if (Filesystem::fileExists($block_path)) { - $block_cache_id = md5('block' . filemtime($block_path) . (($raw === true) ? 'true' : 'false')); + $block_cache_id = md5('block' . $block_path . filemtime($block_path) . (($raw === true) ? 'true' : 'false')); } // Try to get block from cache