diff options
author | Urban Müller | 2016-07-22 17:34:13 +0200 |
---|---|---|
committer | Urban Müller | 2016-07-22 17:34:13 +0200 |
commit | 1b79dde7920f6eab7c0d04d22bd05607235c07d1 (patch) | |
tree | 9230e1e7e4fc8c4c4e7f0102ba77194f34c4b447 | |
parent | 575d7e5ae10ef246653bb43218c44a06de47c26b (diff) | |
download | itools-1b79dde7920f6eab7c0d04d22bd05607235c07d1.tar.gz itools-1b79dde7920f6eab7c0d04d22bd05607235c07d1.tar.bz2 itools-1b79dde7920f6eab7c0d04d22bd05607235c07d1.zip |
force html in EDX()
-rw-r--r-- | auto_prepend.php | 3 |
1 files changed, 3 insertions, 0 deletions
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)); } |