From: Christian Weiske Date: Wed, 9 Apr 2014 19:00:11 +0000 (+0200) Subject: setup: 200 ok only before echo X-Git-Tag: v0.1.0~22 X-Git-Url: https://git.cweiske.de/phancap.git/commitdiff_plain/f28e2d97ffd02ab26357548f3252d0082629b7de setup: 200 ok only before echo --- diff --git a/www/setup.php b/www/setup.php index d89cf18..cbba4dd 100644 --- a/www/setup.php +++ b/www/setup.php @@ -52,8 +52,6 @@ foreach ($adapter as $classpart) { } } -header('HTTP/1.0 200 OK'); - $out = << @@ -102,5 +100,7 @@ $out .= << HTM; + +header('HTTP/1.0 200 OK'); echo $out; ?>