mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 19:34:27 +02:00
- adding md5 to nocache_hash
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
12/28/2009
|
12/28/2009
|
||||||
- update for security fixes
|
- update for security fixes
|
||||||
- make modifier plugins always trusted
|
- make modifier plugins always trusted
|
||||||
|
- adding md5 to nocache_hash
|
||||||
|
|
||||||
12/27/2009
|
12/27/2009
|
||||||
--- this is a major update with a couple of internal changes ---
|
--- this is a major update with a couple of internal changes ---
|
||||||
|
@@ -28,7 +28,7 @@ class Smarty_Internal_TemplateCompilerBase {
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->nocache_hash = uniqid(rand(),true);
|
$this->nocache_hash = md5(uniqid(rand(),true));
|
||||||
}
|
}
|
||||||
// abstract function doCompile($_content);
|
// abstract function doCompile($_content);
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user