projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120da8b
)
UpdateDatabase.php
author
Edward
<edward@roojs.com>
Wed, 10 Oct 2018 02:41:09 +0000
(10:41 +0800)
committer
Edward
<edward@roojs.com>
Wed, 10 Oct 2018 02:41:09 +0000
(10:41 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
6ffa9ac
..
e13af7c
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-198,10
+198,10
@@
class Pman_Core_UpdateDatabase extends Pman
$response = $this->curl("http://localhost{$this->local_base_url}/Core/UpdateDatabase/VerifyExtensions");
$json = json_decode($response, true);
- print_R($response);exit;
+
if(empty($json['data']) || $json['data'] != 'DONE'){
echo "\nError: Missing php extensions:\n";
- print_r($
json
);
+ print_r($
response
);
echo "Please install the above extensions and restart the apache.\n";
sleep(5);