aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/config.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-16 12:58:03 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-16 12:58:03 +0200
commit9fee2e7266a269a8795b96b972cdc62bbcb3329b (patch)
tree0abca9c0e46821a37d559d84051062b3ce431117 /inc/config.php
parent139769aa245fd58d032cb009303b0ea2cc4187cd (diff)
downloadwallabag-9fee2e7266a269a8795b96b972cdc62bbcb3329b.tar.gz
wallabag-9fee2e7266a269a8795b96b972cdc62bbcb3329b.tar.zst
wallabag-9fee2e7266a269a8795b96b972cdc62bbcb3329b.zip
Fixed #13 - tri par date / tri par titre
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php2
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'] : '';