From e4ca769bb8fbb8fd87243e93c58e01423154766d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 2 Feb 2024 00:40:17 +0100 Subject: [PATCH] debug print --- lib/navigation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/navigation.php b/lib/navigation.php index 5cf9308..ac1b39e 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -42,6 +42,7 @@ function generateNavigation(): string $navpages = ""; foreach ($pages_dir as $page_file) { + print_r($page_file); $page_dir_tmp = explode(".", $page_file); $page_dir = $page_dir_tmp[0]; $page_class = "class=\"navpage_link\""; @@ -55,7 +56,7 @@ function generateNavigation(): string $page_name = explode(".", $page_name)[0]; $page_name = ucfirst($page_name); $page_file_path = $routerConfig["page_dir"] . $site_dir . "/" . $page_file ; - + print_r($site_dir); print_r($page_file_path); print_r($page_dir_tmp); if($page_dir_tmp[1] == "html"){