projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd2903
)
examples/tree/get-nodes.php
author
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 07:10:28 +0000
(15:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 07:10:28 +0000
(15:10 +0800)
examples/tree/get-nodes.php
patch
|
blob
|
history
diff --git
a/examples/tree/get-nodes.php
b/examples/tree/get-nodes.php
index
579b147
..
112fd44
100644
(file)
--- a/
examples/tree/get-nodes.php
+++ b/
examples/tree/get-nodes.php
@@
-46,5
+46,5
@@
while (false !== ($f = readdir($dh))) {
}
closedir($dh);
header('Content-type: text/javascript');
-echo json_encode(array('data'=>$ret));
+echo json_encode(array('
success' => true, '
data'=>$ret));