From 5d6b87d9a1736124d6a1fc432131ae1fe9918d54 Mon Sep 17 00:00:00 2001 From: "monte.ohrt" Date: Mon, 28 Dec 2009 17:41:27 +0000 Subject: [PATCH] replace md5 with str_replace --- libs/sysplugins/smarty_internal_templatecompilerbase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sysplugins/smarty_internal_templatecompilerbase.php b/libs/sysplugins/smarty_internal_templatecompilerbase.php index e2b5a22a..0191a68f 100644 --- a/libs/sysplugins/smarty_internal_templatecompilerbase.php +++ b/libs/sysplugins/smarty_internal_templatecompilerbase.php @@ -28,7 +28,7 @@ class Smarty_Internal_TemplateCompilerBase { */ public function __construct() { - $this->nocache_hash = md5(uniqid(rand(),true)); + $this->nocache_hash = str_replace('.','_',uniqid(rand(),true)); } // abstract function doCompile($_content); /**