projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3e9c91
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 05:46:37 +0000
(13:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 05:46:37 +0000
(13:46 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
2a8d3d7
..
20c2dcb
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-54,6
+54,10
@@
class Pman_Xtuple_UpdateDatabase extends Pman
// before any data is imported / started..
function checkOpts()
{
+ $core_opts = HTML_FlexyFramework::get()->page->opts;
+ if (!empty($core_opts['init']) && empty($core_opts['base'])) {
+ die("init must be used before base!");
+ }