projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2526be7
)
UpdateDatabase.php
author
Edward
<edward@roojs.com>
Wed, 22 May 2013 10:47:41 +0000
(18:47 +0800)
committer
Edward
<edward@roojs.com>
Wed, 22 May 2013 10:47:41 +0000
(18:47 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
e2a2afc
..
a806f91
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-64,7
+64,7
@@
class Pman_Core_UpdateDatabase extends Pman
die("can not found person json file : {$opt['source']} \n");
}
- $persons = json_decode(file_get_contents($
source
),true);
+ $persons = json_decode(file_get_contents($
opt['source']
),true);
DB_DataObject::factory('person')->importFromArray(HTML_Flexyframework::get()->page, $persons, $opt['prefix']);
die("DONE! \n");