uhhhh was it this
All checks were successful
Upload Website / sftp (push) Successful in 16s

This commit is contained in:
blryface 2024-05-18 17:14:49 -03:00
parent f813ddc007
commit bf7b0d9920

View file

@ -151,6 +151,21 @@
}
});
$router->get('/company/([a-z]+)', function ($company) {
global $twig, $mysql, $companies;
$twig->addGlobal('pageUri', '/company/' . $company);
if(!$companies[$company]) {
http_response_code(404);
echo $twig->render('404.twig');
} else {
echo $twig->render('nation.twig', array('nation' => $companies[$company]));
}
});
$router->get('/u/([a-z0-9_\.]+)', function($name) {
global $twig, $mysql, $discord;