- use sha1() for filepath encoding

- updates on nocache_hash handling
This commit is contained in:
Uwe.Tews
2009-12-29 20:12:11 +00:00
parent 589f736efa
commit d1969d6f56
14 changed files with 94 additions and 446 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class Smarty_Internal_Debug extends Smarty_Internal_Data {
*/
static function get_key($template)
{
$key = 'F' . abs(crc32($template->getTemplateFilepath()));
$key = sha1($template->getTemplateFilepath());
if (isset(self::$template_data[$key])) {
return $key;
} else {