Fix Bugs and finish setup.php
This commit is contained in:
1 parent
3ad5f5bdd6
commit
f2bd887783
2 files changed
+19
-2
No files matched your search
+1
-1
@@ -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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user