mirror of
https://github.com/getnamingo/registry.git
synced 2025-06-27 14:44:45 +02:00
Preparation for TLD management in panel
This commit is contained in:
parent
6c7c3960ee
commit
f564d3b800
6 changed files with 247 additions and 137 deletions
|
@ -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');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue