projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ff9f312
)
Pman.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 29 Mar 2011 06:47:19 +0000
(14:47 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 29 Mar 2011 06:47:19 +0000
(14:47 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
94ce7f2
..
f01c02d
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-465,8
+465,8
@@
class Pman extends HTML_FlexyFramework_Page
header('Content-type: text/html');
echo "<HTML><HEAD></HEAD><BODY>";
// encode html characters so they can be read..
- $str = str_replace(array('<','>'), array('\u003c','\u003e'), $str);
-
echo $json->encodeUnsafe(array('success'=> true, 'data' => $str
));
+ echo str_replace(array('<','>'), array('\u003c','\u003e'),
+
$json->encodeUnsafe(array('success'=> true, 'data' => $str)
));
echo "</BODY></HTML>";
exit;
}