aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Tools.class.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-04 22:35:08 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-04 22:35:08 +0200
commit63c35580c7d60e2278ee6fe9ba2d4440ff0308d6 (patch)
tree71a0c573d4104d9a751df395c1c162c089ed6017 /inc/poche/Tools.class.php
parentc765c3679fee3ed9e4bad9954a808116187a7e83 (diff)
downloadwallabag-63c35580c7d60e2278ee6fe9ba2d4440ff0308d6.tar.gz
wallabag-63c35580c7d60e2278ee6fe9ba2d4440ff0308d6.tar.zst
wallabag-63c35580c7d60e2278ee6fe9ba2d4440ff0308d6.zip
twig implementation
Diffstat (limited to 'inc/poche/Tools.class.php')
-rw-r--r--inc/poche/Tools.class.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php
index c277035f..1ff4ba55 100644
--- a/inc/poche/Tools.class.php
+++ b/inc/poche/Tools.class.php
@@ -205,4 +205,9 @@ class Tools
205 { 205 {
206 return sha1($string . SALT); 206 return sha1($string . SALT);
207 } 207 }
208
209 public static function checkVar($var)
210 {
211 return ((isset ($_REQUEST["$var"])) ? htmlentities($_REQUEST["$var"]) : '');
212 }
208} \ No newline at end of file 213} \ No newline at end of file