upgrade twig library
This commit is contained in:
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()
|
||||
|
Reference in New Issue
Block a user