Index: temp/trunk/html/test/uehara/test.php
===================================================================
--- temp/trunk/html/test/uehara/test.php	(revision 8777)
+++ temp/trunk/html/test/uehara/test.php	(revision 8778)
@@ -18,9 +18,7 @@
 	
 	sfGetFileTreeSub($dir, $default_rank, $cnt, $arrTree);
-	
-print_r($arrTree);
 }
 
-function sfGetFileTreeSub($dir, $default_rank, $cnt, &$arrTree) {
+function sfGetFileTreeSub($dir, $default_rank, &$cnt, &$arrTree) {
 	
 	if(file_exists($dir)) {
@@ -46,5 +44,5 @@
 						
 						// javascript¤Î¥Ä¥ê¡¼À¸À®ÍÑ¤ÎÇÛÎó¤òºîÀ®
-						$arrTree[] = array($cnt, $file_type, $path, $rank);
+						$arrTree[$cnt] = array($cnt, $file_type, $path, $rank);
 						$cnt++;
 						// ²¼ÁØ¥Ç¥£¥ì¥¯¥È¥ê¼èÆÀ¤Î°Ù¡¢ºÆµ¢Åª¤Ë¸Æ¤Ó½Ð¤¹
