From 0ddf79607092e0aaaa69e46e3f2d4160117da495 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 28 Dec 2020 03:33:21 +0100 Subject: [PATCH] page: only html body on application/xml requests --- page.inc.php | 2 -- page.php | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/page.inc.php b/page.inc.php index 6ffd9cc..23a7106 100644 --- a/page.inc.php +++ b/page.inc.php @@ -23,8 +23,6 @@ $nav = preg_replace_callback('{(.*?)}', function ($m) { print $nav; print "\n\n"; -print $Page->render(); - register_shutdown_function(function () { print '