Index: temp/trunk/html/test/uehara/test.php
===================================================================
--- temp/trunk/html/test/uehara/test.php	(revision 8780)
+++ temp/trunk/html/test/uehara/test.php	(revision 8781)
@@ -15,5 +15,6 @@
 	$cnt = 0;
 	$arrTree = array();
-	$default_rank = count(split('/', $dir));
+	$arrCnt = split('/', $dir);
+	$default_rank = count($arrCnt);
 	
 	sfGetFileTreeSub($dir, $default_rank, $cnt, $arrTree);
