projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb4b83
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 09:00:15 +0000
(17:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 09:00:15 +0000
(17:00 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
2d9f6d0
..
c7e89a9
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-90,7
+90,13
@@
class Pman_Xtuple_UpdateDatabase extends Pman
die("--base=XXX and --init =1 must be used together.");
}
-
+ // default to import the terms.
+ if (
+ (!empty($opts['init']) && empty($opts['json-terms']) ))
+ {
+ HTML_FlexyFramework::get()->page->opts['json-terms'] = dirname(__FILE__).'/Setup/terms.json';
+
+ }