projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2cbcf3
)
UpdateDatabase.php
author
Edward
<edward@roojs.com>
Thu, 5 Jul 2018 02:29:37 +0000
(10:29 +0800)
committer
Edward
<edward@roojs.com>
Thu, 5 Jul 2018 02:29:37 +0000
(10:29 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
2829442
..
8668916
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-1197,9
+1197,10
@@
class Pman_Core_UpdateDatabase extends Pman
$response = $this->curl($url);
$response = json_decode($response, true);
- print_R($response);exit;
- if(empty($response) || $response != 'DONE'){
-
+
+ if(empty($response['data']) || $response['data'] != 'DONE'){
+ print_r($response);
+ exit;
}
}