forked from blurryface/Website
rendering section i think
This commit is contained in:
parent
6cd420ea3c
commit
da624182b0
|
@ -207,6 +207,14 @@
|
|||
}
|
||||
});
|
||||
|
||||
$router->get('/section', function() {
|
||||
global $twig;
|
||||
|
||||
$twig->addGlobal('pageUri', '/section');
|
||||
|
||||
echo $twig->render('section.twig');
|
||||
});
|
||||
|
||||
|
||||
$router->get('/u/([a-z0-9_\.]+)', function($name) {
|
||||
global $twig, $mysql, $discord;
|
||||
|
@ -224,6 +232,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
// ---------------- Admin ---------------- //
|
||||
|
||||
$router->get('/admin', function() {
|
||||
|
|
Loading…
Reference in a new issue