projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fb40b1
)
UpdateDatabase.php
author
Edward
<edward@roojs.com>
Wed, 22 May 2013 11:44:26 +0000
(19:44 +0800)
committer
Edward
<edward@roojs.com>
Wed, 22 May 2013 11:44:26 +0000
(19:44 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
ad896d2
..
0c13a24
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-103,7
+103,7
@@
class Pman_Core_UpdateDatabase extends Pman
if(empty($opt['name']) || empty($opt['comptype'])){
die("Missing company name or type! Try --name=[the name of company] -- comptype=[the type of company] \n");
}
-
+ print_r($opt['name']);exit;
DB_DataObject::factory('companies')->initCompanies(HTML_Flexyframework::get()->page, $opt['name'], $opt['comptype']);
die("DONE! \n");