From ef5dc8ea525a6de791d35ef34e4208674e92b144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Goetz?= Date: Mon, 25 Jan 2016 14:47:13 +0100 Subject: [PATCH] Add missing . on getOrCreate --- libs/Tree/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Tree/Builder.php b/libs/Tree/Builder.php index 0980d34..7af752e 100644 --- a/libs/Tree/Builder.php +++ b/libs/Tree/Builder.php @@ -190,7 +190,7 @@ class Builder if ($title == 'index') { // TODO :: clarify the difference between 'index' and '_index' - $page->setName('_index' . pathinfo($path, PATHINFO_EXTENSION)); + $page->setName('_index.' . pathinfo($path, PATHINFO_EXTENSION)); $page->setTitle($parent->getTitle()); } else { $page->setName($path);