1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-20 20:01:37 +02:00

refactor(core): Entries API #186

This commit is contained in:
Awilum
2019-09-07 22:58:48 +03:00
parent e23eeba954
commit 5d20695dfa

View File

@@ -269,7 +269,7 @@ class Entries
} else {
// We are checking...
// Whether the requested entry is a director and whether the file entry is in this directory.
if ($current_entry['type'] === 'dir' && Filesystem::has($current_entry['path'] . '/entry' . '.' . 'md')) {
if ($current_entry['type'] === 'dir' && Filesystem::has($current_entry['path'] . '/entry.md')) {
// Get entry uid
// 1. Remove entries path
// 2. Remove left and right slashes