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

Themes refactoring

This commit is contained in:
Awilum
2018-11-13 02:05:48 +03:00
parent 1e6d4fa8a3
commit 077f8f093f

View File

@@ -74,7 +74,7 @@ class Themes
// Get Theme mafifest file and write to site.themes array
if (Cache::contains($theme_cache_id)) {
Registry::set('themes.'.Registry::get('site.theme'), Cache::fetch($theme_cache_id));
Registry::set('themes.'.Registry::get('system.theme'), Cache::fetch($theme_cache_id));
} else {
if (Filesystem::fileExists($theme_blueprints = PATH['themes'] . '/' . $theme . '/' . 'blueprints.yaml') and
Filesystem::fileExists($theme_config = PATH['themes'] . '/' . $theme . '/' . $theme . '.yaml')) {