- adding md5 to nocache_hash

This commit is contained in:
Uwe.Tews
2009-12-28 17:02:48 +00:00
parent de4957a151
commit 8ad3fade36
2 changed files with 2 additions and 1 deletions

View File

@@ -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 ---

View File

@@ -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);
/** /**