Palette.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 15:50:16 +0000 (23:50 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 15:50:16 +0000 (23:50 +0800)
Palette.php

index 20d0da2..a498f6c 100644 (file)
@@ -18,7 +18,8 @@ class Pman_Builder_Palette extends Pman
         // gets xns+xtype+list
         $ff = HTML_FlexyFramework::get();
         
-        $lines = file($ff->rootDir . '/roojs1/docs/json/roodata.json');
+        $data = json_decode(file_get_contents(($ff->rootDir . '/roojs1/docs/json/roodata.json'));
+        echo '<PRE>';print_r($data);exit;
         // 
         
     }