1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

twig implementation

This commit is contained in:
Nicolas Lœuillet 2013-08-04 22:35:08 +02:00
parent c765c3679f
commit 63c35580c7
9 changed files with 111 additions and 100 deletions

View file

@ -205,4 +205,9 @@ class Tools
{
return sha1($string . SALT);
}
public static function checkVar($var)
{
return ((isset ($_REQUEST["$var"])) ? htmlentities($_REQUEST["$var"]) : '');
}
}