Index: temp/trunk/html/test/uehara/test.php
===================================================================
--- temp/trunk/html/test/uehara/test.php	(revision 8783)
+++ temp/trunk/html/test/uehara/test.php	(revision 9072)
@@ -15,4 +15,14 @@
 	$arrTree = array();
 	$default_rank = count(split('/', $dir));
+	
+	// ºÇ¾å°ÌÁØ
+	if(sfDirChildExists($dir)) {
+		$file_type = "_parent";
+	} else {
+		$file_type = "_child";	
+	}
+	$arrTree[$cnt] = array($cnt, $file_type, $dir, 0);
+	$cnt++;
+	
 	sfGetFileTreeSub($dir, $default_rank, $cnt, $arrTree);
 	
@@ -41,5 +51,5 @@
 						$arrCnt = split('/', $path);
 						$rank = count($arrCnt);
-						$rank = $rank - $default_rank;
+						$rank = $rank - $default_rank + 1;
 						
 						// javascript¤Î¥Ä¥ê¡¼À¸À®ÍÑ¤ÎÇÛÎó¤òºîÀ®
