mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 23:01:05 -05:00
Only use first 8 characters of MD5 hash in version
This commit is contained in:
@@ -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}\"";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user