- move elixForms API logic to specific folder
- move everything else under Api folder
This commit is contained in:
2026-07-13 17:34:43 +02:00
parent 1766057cb9
commit 661e2db8b1
27 changed files with 294 additions and 129 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace Core;
class Response {
public function json($data, $status = 200) {
http_response_code($status);
header('Content-Type: application/json');
echo json_encode($data);
exit;
}
}