projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enhanced test.php management and engine_test.sh added
[brisk.git]
/
web
/
Obj
/
brisk.phh
diff --git
a/web/Obj/brisk.phh
b/web/Obj/brisk.phh
index
45b583c
..
b9f305a
100644
(file)
--- a/
web/Obj/brisk.phh
+++ b/
web/Obj/brisk.phh
@@
-2288,7
+2288,13
@@
class Room
if (!(BRISK_DEBUG & DBG_ENGI))
return (FALSE);
fprintf(STDERR, "TEST.PHP running\n");
if (!(BRISK_DEBUG & DBG_ENGI))
return (FALSE);
fprintf(STDERR, "TEST.PHP running\n");
- $content = "<html><body>OK</body></html>";
+ if (isset($post['data'])) {
+ $content = $post['data'];
+ }
+ else {
+ $content = "NO DATA AVAILABLE";
+ }
+ $header_out['Content-Type'] = 'text/plain';
$s_a_p->pendpage_try_addflush($new_socket, 20, $enc, $header_out, $content);
return TRUE;
break;
$s_a_p->pendpage_try_addflush($new_socket, 20, $enc, $header_out, $content);
return TRUE;
break;