Only use first 8 characters of MD5 hash in version

This commit is contained in:
Cathy J. Fitzpatrick
2013-01-26 13:56:41 -07:00
parent d91e07dad1
commit 7d14f125ca

View File

@@ -10,7 +10,7 @@
*/
function replaceMatch($m) {
$hash = md5_file($m[2]);
$hash = substr(md5_file($m[2]), 0, 8);
return "${m[1]}=\"/${m[2]}?${hash}\"";
}