1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 06:06:45 +02:00

Flextype 0.4.0

This commit is contained in:
Awilum
2018-05-17 15:51:09 +03:00
parent 55cb34205b
commit b264d1ae20

View File

@@ -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