Preparation for TLD management in panel

This commit is contained in:
Pinga 2023-12-09 17:13:26 +02:00
parent 6c7c3960ee
commit f564d3b800
6 changed files with 247 additions and 137 deletions

View file

@ -28,5 +28,16 @@ class SystemController extends Controller
return view($response,'admin/system/registry.twig', [
'tlds' => $tlds,
]);
}
}
public function manageTlds(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/manageTlds.twig');
}
}