1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
require_once __DIR__ . '/../_inc.php';
if ($user['droits']['config'] < Garradin_Membres::DROIT_ADMIN)
{
throw new UserException("Vous n'avez pas le droit d'accéder à cette page.");
}
require_once GARRADIN_ROOT . '/include/class.squelette.php';
$error = false;
if (isset($_GET['ok']))
{
$error = 'OK';
}
|
>
|
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
namespace Garradin;
require_once __DIR__ . '/../_inc.php';
if ($user['droits']['config'] < Membres::DROIT_ADMIN)
{
throw new UserException("Vous n'avez pas le droit d'accéder à cette page.");
}
$error = false;
if (isset($_GET['ok']))
{
$error = 'OK';
}
|