From 23105bfb62f20b6287807ccf93c4b8505da9d0da Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 10 Dec 2018 15:25:41 +0300 Subject: [PATCH] Themes: New public method getTemplatesBlueprints() - fixes --- flextype/Themes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/Themes.php b/flextype/Themes.php index 13bedda7..b46e60a8 100644 --- a/flextype/Themes.php +++ b/flextype/Themes.php @@ -159,7 +159,7 @@ class Themes if (count($_blueprints) > 0) { foreach ($_blueprints as $blueprint) { if (!is_bool(Themes::_strrevpos($blueprint, '/blueprints/'))) { - $blueprint_name = str_replace('.php', '', substr($blueprint, Themes::_strrevpos($blueprint, '/blueprints/')+strlen('/blueprints/'))); + $blueprint_name = str_replace('.yaml', '', substr($blueprint, Themes::_strrevpos($blueprint, '/blueprints/')+strlen('/blueprints/'))); $blueprints[$blueprint_name] = $blueprint_name; } }