projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315cf49
)
examples/tree/get-nodes.php
author
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 07:09:17 +0000
(15:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 07:09:17 +0000
(15:09 +0800)
examples/tree/get-nodes.php
patch
|
blob
|
history
diff --git
a/examples/tree/get-nodes.php
b/examples/tree/get-nodes.php
index
538ad12
..
e0391f3
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(
$ret
);
+echo json_encode(
array('data'=>$ret)
);