Poll voting

This commit is contained in:
2021-03-28 21:19:04 +02:00
parent 21f7623859
commit a064eae86b
5 changed files with 83 additions and 5 deletions

View File

@ -47,3 +47,10 @@ function get_page_header(
. $logout_link
. '</header>';
}
function redirect($to)
{
header('Location: '.$to);
die('<html><meta http-equiv="refresh" content="0;url='.$to.'">'
.'<script>window.location.replace("'.$to.'");</script></html>');
}