From 50ab250f13a0a5e7edab5ef8299f445b7f78bd8a Mon Sep 17 00:00:00 2001 From: HITSword Date: Thu, 9 Jan 2020 18:56:05 +0800 Subject: [PATCH] debug Signed-off-by: HITSword --- hyproxy-cli.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hyproxy-cli.php b/hyproxy-cli.php index 5dc17e0..ae36e35 100644 --- a/hyproxy-cli.php +++ b/hyproxy-cli.php @@ -309,10 +309,11 @@ $medoo->delete($table, null); $medoo->query("alter table $table auto_increment=1"); $medoo->insert($table, json_decode($backup, true)); + print_r($backup); hyproxy_make(); - return '[OK] Proxy restore success'; + return "[OK] Proxy restore success\n"; } else { - return '[ERROR] Backup file not exist!'; + return "[ERROR] Backup file not exist!\n"; } }