diff options
Diffstat (limited to 'inc/config.php')
-rw-r--r-- | inc/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php index 4c1978b5..d468228d 100644 --- a/inc/config.php +++ b/inc/config.php | |||
@@ -35,8 +35,8 @@ if (!isset($_SESSION['token_poche'])) { | |||
35 | } | 35 | } |
36 | 36 | ||
37 | # Traitement des paramètres et déclenchement des actions | 37 | # Traitement des paramètres et déclenchement des actions |
38 | $view = (isset ($_REQUEST['view'])) ? htmlentities($_REQUEST['view']) : 'index'; | ||
38 | $action = (isset ($_REQUEST['action'])) ? htmlentities($_REQUEST['action']) : ''; | 39 | $action = (isset ($_REQUEST['action'])) ? htmlentities($_REQUEST['action']) : ''; |
39 | $_SESSION['view'] = (isset ($_GET['view'])) ? htmlentities($_GET['view']) : 'index'; | ||
40 | $_SESSION['sort'] = (isset ($_REQUEST['sort'])) ? htmlentities($_REQUEST['sort']) : 'id'; | 40 | $_SESSION['sort'] = (isset ($_REQUEST['sort'])) ? htmlentities($_REQUEST['sort']) : 'id'; |
41 | $id = (isset ($_REQUEST['id'])) ? htmlspecialchars($_REQUEST['id']) : ''; | 41 | $id = (isset ($_REQUEST['id'])) ? htmlspecialchars($_REQUEST['id']) : ''; |
42 | $url = (isset ($_GET['url'])) ? $_GET['url'] : ''; | 42 | $url = (isset ($_GET['url'])) ? $_GET['url'] : ''; |