1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-01 04:41:17 +02:00

Restructuration de la page d'inscription

This commit is contained in:
galaxyoyo
2019-09-07 15:51:16 +02:00
parent 25a31b7f40
commit c6045a122f
7 changed files with 291 additions and 247 deletions

View File

@ -94,4 +94,9 @@ function quitTeam() {
$_SESSION["team"] = null;
unset($_SESSION["team"]);
}
function ensure($bool, $error_msg = "") {
if (!$bool)
throw new AssertionError($error_msg);
}