projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02bedea
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 05:57:37 +0000
(13:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 05:57:37 +0000
(13:57 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
83aa114
..
498904f
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-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'){