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

feat(core): add entries.extension setting

This commit is contained in:
Awilum
2020-04-22 11:00:28 +03:00
parent dae659ddd4
commit 9265945580

View File

@@ -320,7 +320,7 @@ class Entries
// Create entries array from entries list and ignore current requested entry
foreach ($entries_list as $current_entry) {
if (strpos($current_entry['path'], $bind_id . '/entry' . '.' . 'md') !== false) {
if (strpos($current_entry['path'], $bind_id . '/entry' . '.' . $this->flextype->registry->get('flextype.entries.extension')) !== false) {
// ignore ...
} else {
// We are checking...