1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 13:52:56 +02:00

fix(core): issue with Cache ID for Themes list #234

This commit is contained in:
Awilum
2019-09-19 15:05:41 +03:00
parent 86cd470df6
commit 594f4a3467

View File

@@ -105,11 +105,11 @@ class Themes
if (is_array($themes_list) && count($themes_list) > 0) {
foreach ($themes_list as $theme) {
if (! Filesystem::has($_themes_settings = PATH['themes'] . '/' . $theme['dirname'] . '/settings.yaml') or
! Filesystem::has($_themes_manifest = PATH['themes'] . '/' . $theme['dirname'] . '/plugin.yaml')) {
! Filesystem::has($_themes_manifest = PATH['themes'] . '/' . $theme['dirname'] . '/theme.yaml')) {
continue;
}
$_themes_cache_id .= filemtime($_themes_settings) . filemtime($_themes_manifest);
$_themes_cache_id .= $_themes_settings . filemtime($_themes_settings) . $_themes_manifest . filemtime($_themes_manifest);
}
}