Fix: use dol_hash instead md5 php function

This commit is contained in:
Regis Houssin
2011-09-06 06:53:52 +00:00
parent e13c8a3fde
commit ac4bcfb583
13 changed files with 27 additions and 24 deletions

View File

@@ -92,7 +92,7 @@ function GETPOST($paramname,$check='',$method=0)
*/
function dol_getprefix()
{
return md5($_SERVER["SERVER_NAME"].$_SERVER["DOCUMENT_ROOT"].DOL_DOCUMENT_ROOT.DOL_URL_ROOT);
return dol_hash($_SERVER["SERVER_NAME"].$_SERVER["DOCUMENT_ROOT"].DOL_DOCUMENT_ROOT.DOL_URL_ROOT);
}
/**