Index: branches/testa/php/content.php
===================================================================
--- branches/testa/php/content.php	(revision 23)
+++ branches/testa/php/content.php	(revision 25)
@@ -9,5 +9,4 @@
 require_once( dirname(__FILE__) . '/NorthernCross/ns/PathInfo.php');
 require_once( dirname(__FILE__) . "/spyc-0.5/spyc.php"); // ★の部分にはspyc.phpを置いたパスを入れます
-
 
 function get_url_data_array()
@@ -123,4 +122,5 @@
 function cmdx(){
     $filelist_filename = "filelist.json";
+    $setting_filelist_filename = "setting-filelist.json";
     $storage_dir = dirname(__FILE__) . '/../storage';
 
@@ -132,4 +132,16 @@
 
             switch ($cmd) {
+            case 'get_setting_filelist':
+                $path = ensure_storage_dir( $storage_dir , $num, $setting_filelist_filename );
+                if( file_exists($path) ){
+                    $content = input_file( $path );
+                }
+                else {
+                    $content = get_path_info( $num );
+                    output_file( $path , $content );
+                }
+                break;
+            case 'build':
+                break;
             case 'get_content':
                 if (isset($_GET['path'])) {
@@ -146,5 +158,5 @@
                 $path = ensure_storage_dir( $storage_dir , $num, $filelist_filename );
                 if( file_exists($path) ){
-                    $content = input_file( $filename );
+                    $content = input_file( $path );
                 }
                 else {
