Fix Bugs and finish setup.php

This commit is contained in:
admin committed 2026-10-05 09:09:07 +00:00
1 parent 3ad5f5bdd6
commit f2bd887783
2 files changed
+19 -2

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ class gbAPI {
return false;
}
function answer($status, $data) {
function answer($status, $data = []) {
http_response_code($status);
Header ("Content-Type: application/json; charset=UTF-8");