debug print

This commit is contained in:
Bruno Rybársky 2024-02-03 16:57:28 +01:00
parent 50d9fd2e39
commit b1792bd29a

@ -1,7 +1,12 @@
<?php <?php
function renderDynamicPage($page_file): array function renderDynamicPage($page_file): array
{ {
return require_once $page_file; ob_start();
echo "doing $page_file";
$page_out = require_once $page_file;
print_r($page_out);
echo htmlspecialchars(ob_get_clean());
return $page_out;
} }
function parsePageTag($input): array function parsePageTag($input): array