Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / controllers / logout_controller.php @ 93e6e5b0

Historique | Voir | Annoter | Télécharger (1,24 ko)

1 232b0a2c Eric Seigne
<?php
2 3f5b3f99 Adamczak Frédéric
/************************************************************************************
3
 *
4
 *  Projet AbulEdu Mur de Classe  - Licence: GNU/Affero GPL v3 ou +
5
 *
6
 *  (c) 2020 Frédéric Adamczak <fred@fadamczak.fr>
7
 *
8
 *   This file is part of AbulEdu Mur de Classe.
9
 *
10
 *   AbulEdu Mur de Classe is free software: you can redistribute it and/or modify
11
 *   it under the terms of the GNU Affero General Public License as published by
12
 *   the Free Software Foundation, either version 3 of the License, or
13
 *   (at your option) any later version.
14
 *
15
 *   AbulEdu Mur de Classe is distributed in the hope that it will be useful,
16
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 *   GNU Affero General Public License for more details.
19
 *
20
 *   You should have received a copy of the GNU General Public License
21
 *   along with ClicAlbum. If not, see <https://www.gnu.org/licenses/>.
22
 *
23
 ************************************************************************************/
24
25 232b0a2c Eric Seigne
//debug($_GET);
26
// On passe la variable de session role à user
27
$_SESSION['role'] = "user";
28
//$_SESSION['mur']  ="";
29
// Et on retourne au mur
30
$url = "Location:index.php?page=mur&id=".$_GET['id'];
31
header($url);
Redmine Appliance - Powered by TurnKey Linux