projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2a2931
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 09:01:47 +0000
(17:01 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 09:01:47 +0000
(17:01 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
d75f242
..
080cec2
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-512,7
+512,7
@@
class Pman_Core_UpdateDatabase extends Pman
continue;
}
$type = str_replace('_', '-', substr($o,6));
- $data= json_decode(file_get_contents($
file
),true);
+ $data= json_decode(file_get_contents($
v
),true);
DB_DataObject::factory($type)->importFromArray($this,$data,$opts);
}