function pun_hash($str)
{
if (function_exists('sha1')) // Only in PHP 4.3.0+
return sha1($str);
else if (function_exists('mhash')) // Only if Mhash library is loaded
return bin2hex(mhash(MHASH_SHA1, $str));
else
return md5($str);
}
часто её заменяют на
PHP код:
function pun_hash($str)
{
return md5($str);
}
из-за проблем с ПО на сервере.
при возможности смотрим метод тут include\ functions.php