1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-25 12:17:27 +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 b8dfe1a607
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);
}