Signed-off-by: HITSword <admin@huayizhiyun.com>
master
HITSword 2020-01-09 18:56:05 +08:00
parent bce86e9cfa
commit 50ab250f13
1 changed files with 3 additions and 2 deletions

View File

@ -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";
}
}