git.cweiske.de
/
phancap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4257ca9
)
setup: 200 ok only before echo
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 9 Apr 2014 19:00:11 +0000
(21:00 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 9 Apr 2014 19:00:11 +0000
(21:00 +0200)
www/setup.php
patch
|
blob
|
history
diff --git
a/www/setup.php
b/www/setup.php
index d89cf18ab97edc098b175768a944ed98cfaba098..cbba4dd384bdac94895aa83ff6041015d48ac85e 100644
(file)
--- a/
www/setup.php
+++ b/
www/setup.php
@@
-52,8
+52,6
@@
foreach ($adapter as $classpart) {
}
}
}
}
-header('HTTP/1.0 200 OK');
-
$out = <<<HTM
<?xml version="1.0" encoding="utf-8"?>
<html>
$out = <<<HTM
<?xml version="1.0" encoding="utf-8"?>
<html>
@@
-102,5
+100,7
@@
$out .= <<<HTM
</body>
</html>
HTM;
</body>
</html>
HTM;
+
+header('HTTP/1.0 200 OK');
echo $out;
?>
echo $out;
?>