Preparations for TLD create

This commit is contained in:
Pinga 2023-12-09 23:07:19 +02:00
parent f564d3b800
commit 73af9ed9c4
5 changed files with 256 additions and 5 deletions

View file

@ -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');
}
}