mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-28 16:29:55 +02:00
Preparations for TLD create
This commit is contained in:
parent
f564d3b800
commit
73af9ed9c4
5 changed files with 256 additions and 5 deletions
|
@ -40,4 +40,15 @@ class SystemController extends Controller
|
|||
|
||||
return view($response,'admin/system/manageTlds.twig');
|
||||
}
|
||||
|
||||
public function createTld(Request $request, Response $response)
|
||||
{
|
||||
if ($_SESSION["auth_roles"] != 0) {
|
||||
return $response->withHeader('Location', '/dashboard')->withStatus(302);
|
||||
}
|
||||
|
||||
$db = $this->container->get('db');
|
||||
|
||||
return view($response,'admin/system/createTld.twig');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue