From 2dde870931c54385e231b6c00897472f8e47ccf3 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 10 Oct 2018 10:41:09 +0800 Subject: [PATCH] UpdateDatabase.php --- UpdateDatabase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UpdateDatabase.php b/UpdateDatabase.php index 6ffa9aca..e13af7c9 100644 --- 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); -- 2.39.2