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:
@@ -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
|
||||
|
Reference in New Issue
Block a user