From 290b0dcf39b2ed4c79d36eb1df7d364c58db2359 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Sun, 21 Mar 2021 10:46:18 +0100 Subject: [PATCH] Add path debugging print statements in comment --- wiki.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wiki.php b/wiki.php index ad8cee2..50fa019 100644 --- a/wiki.php +++ b/wiki.php @@ -17,6 +17,10 @@ if (strpos($page, "../") !== false) { } $content_file = "articles/$page.md"; +// When you need some debugging +//echo "
page: $page"; +//echo "
content file: $content_file"; + $Parsedown = new Parsedown(); $Parsedown->setSafeMode(true);