mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-06 01:25:00 +02:00
Preparations
This commit is contained in:
parent
d0f1a92a6d
commit
6c766a6c7b
2 changed files with 443 additions and 441 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue