UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Fri, 15 Nov 2013 05:57:37 +0000 (13:57 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 Nov 2013 05:57:37 +0000 (13:57 +0800)
UpdateDatabase.php

index 83aa114..498904f 100644 (file)
@@ -98,7 +98,13 @@ class Pman_Xtuple_UpdateDatabase extends Pman
         $this->opts = $opt;
         
         
-        
+        foreach($this->opts as $o=>$v) {
+            if (!empty(preg_match('/^json-/', $o)) {
+                continue;
+            }
+            $type = str_replace('_', '-', substr($o,6));
+            $this->loadFromFile,$
+        }
         
         
         if($k == 'accnt'){