Commit bd5b1d78f1dbc2ae32cb4fa892050181d612770b
1 parent
0ebedaa4
[Orga] Fix commit pré-pré-précédent
GG à moi qui ne sait pas lire les messages d'erreur. Logiquement c'est bon.
Showing
1 changed file
with
8 additions
and
4 deletions
Show diff stats
orga.php
1 | +<?php | |
2 | + | |
3 | +if(session_id() == '') { | |
4 | + session_start(); | |
5 | +} | |
6 | + | |
7 | +?> | |
8 | + | |
1 | 9 | <h3> Organisation </h3> |
2 | 10 | |
3 | 11 | <?php |
... | ... | @@ -6,10 +14,6 @@ $time = time(); |
6 | 14 | |
7 | 15 | # e_ : est |
8 | 16 | |
9 | -if (!isset($_SESSION)) { | |
10 | - session_start(); | |
11 | -} | |
12 | - | |
13 | 17 | $e_connecte = isset($_SESSION["connected"]) && $_SESSION["connected"]; |
14 | 18 | $e_admin = isset($_SESSION["admin"]) && $_SESSION["admin"]; |
15 | 19 | ... | ... |