mirror of https://github.com/ThunixdotNet/wiki.git
Add path debugging print statements in comment
This commit is contained in:
parent
42a438fc52
commit
290b0dcf39
4
wiki.php
4
wiki.php
|
@ -17,6 +17,10 @@ if (strpos($page, "../") !== false) {
|
||||||
}
|
}
|
||||||
$content_file = "articles/$page.md";
|
$content_file = "articles/$page.md";
|
||||||
|
|
||||||
|
// When you need some debugging
|
||||||
|
//echo "<br>page: $page";
|
||||||
|
//echo "<br>content file: $content_file";
|
||||||
|
|
||||||
$Parsedown = new Parsedown();
|
$Parsedown = new Parsedown();
|
||||||
$Parsedown->setSafeMode(true);
|
$Parsedown->setSafeMode(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue