1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 04:23:01 +00:00

another fix in the page viewer

This commit is contained in:
Starbeamrainbowlabs 2015-05-24 21:05:45 +01:00
parent 2900c13ee2
commit 2326bc479e

View file

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "Page viewer",
"version" => "0.4",
"version" => "0.6",
"author" => "Starbeamrainbowlabs",
"description" => "Allows you to view pages. You should include this one.",
"id" => "page-view",
@ -37,9 +37,9 @@ register_module([
$content .= "\n\t<!-- Took " . (microtime(true) - $slimdown_start) . " seconds to parse markdown -->\n";
if(isset($_GET["printable"]) and $_GET["printable"] === "yes")
exit(page_renderer::render_minimal($title, $content, $minimal));
exit(page_renderer::render_minimal($title, $content));
else
exit(page_renderer::render_main($title, $content, $minimal));
exit(page_renderer::render_main($title, $content));
});
}
]);