projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db952ba
)
Framework: allow 'html' HTTP response type to be used like the 'json' type
author
Ben Klang
<ben@alkaloid.net>
Thu, 4 Mar 2010 01:41:44 +0000
(20:41 -0500)
committer
Ben Klang
<ben@alkaloid.net>
Thu, 4 Mar 2010 01:41:44 +0000
(20:41 -0500)
framework/Core/lib/Horde.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde.php
b/framework/Core/lib/Horde.php
index
10ba230
..
aa6b817
100644
(file)
--- a/
framework/Core/lib/Horde.php
+++ b/
framework/Core/lib/Horde.php
@@
-670,8
+670,9
@@
HTML;
case 'html':
case 'plain':
case 'xml':
+ $s_data = $data->response;
header('Content-Type: text/' . $ct . '; charset=' . $charset);
- echo $data;
+ echo $
s_
data;
break;
default: