forked from leftypol/leftypol
upgrade twig library
This commit is contained in:
parent
01857d176a
commit
9c48084f3b
163 changed files with 275 additions and 94 deletions
2
inc/lib/Twig/Parser.php
Normal file → Executable file
2
inc/lib/Twig/Parser.php
Normal file → Executable file
|
@ -49,7 +49,7 @@ class Twig_Parser implements Twig_ParserInterface
|
|||
|
||||
public function getVarName()
|
||||
{
|
||||
return sprintf('__internal_%s', hash('sha1', uniqid(mt_rand(), true), false));
|
||||
return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false));
|
||||
}
|
||||
|
||||
public function getFilename()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue