From 1b79dde7920f6eab7c0d04d22bd05607235c07d1 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 22 Jul 2016 17:34:13 +0200 Subject: force html in EDX() --- auto_prepend.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'auto_prepend.php') diff --git a/auto_prepend.php b/auto_prepend.php index bb23309..1742a7d 100644 --- a/auto_prepend.php +++ b/auto_prepend.php @@ -57,6 +57,9 @@ function EDC($var) function EDX() { $args = func_get_args(); + if ($_SERVER['REMOTE_HOST']) + header("Content-Type: text/html"); // not going to e.g. a valid gif anyway + exit(it_debug::dump($args)); } -- cgit v1.2.3