mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
twig implementation
This commit is contained in:
parent
c765c3679f
commit
63c35580c7
9 changed files with 111 additions and 100 deletions
|
@ -205,4 +205,9 @@ class Tools
|
|||
{
|
||||
return sha1($string . SALT);
|
||||
}
|
||||
|
||||
public static function checkVar($var)
|
||||
{
|
||||
return ((isset ($_REQUEST["$var"])) ? htmlentities($_REQUEST["$var"]) : '');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue