Preparations

This commit is contained in:
Pinga 2023-11-14 20:27:25 +02:00
parent d0f1a92a6d
commit 6c766a6c7b
2 changed files with 443 additions and 441 deletions

View file

@ -20,7 +20,16 @@ class RegistrarsController extends Controller
if ($_SESSION["auth_roles"] != 0) {
return $response->withHeader('Location', '/dashboard')->withStatus(302);
}
if ($request->getMethod() === 'POST') {
// Retrieve POST data
$data = $request->getParsedBody();
$db = $this->container->get('db');
var_dump ($data);
die();
}
$iso3166 = new ISO3166();
$countries = $iso3166->all();