From 7d14f125ca8df15a11c4fe371ca29e6e8ea2ad76 Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Sat, 26 Jan 2013 13:56:41 -0700 Subject: [PATCH] Only use first 8 characters of MD5 hash in version --- githooks/update-version-query-strings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/githooks/update-version-query-strings b/githooks/update-version-query-strings index ab17ecabb..6262bcbf8 100755 --- a/githooks/update-version-query-strings +++ b/githooks/update-version-query-strings @@ -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}\""; }