Commit:    2e0a93ef3f8cc0806553bd5ec1dcab467cf46ad9
Author:    Sara Golemon <[email protected]>         Thu, 4 Feb 2021 16:50:18 +0000
Parents:   d958d85123f81f6168c299162bf8f2e33aeeb45d
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=2e0a93ef3f8cc0806553bd5ec1dcab467cf46ad9

Log:
Temporary hacky fix for cache issue and old 8.0.2 tarballs

Changed paths:
  M  include/layout.inc


Diff:
diff --git a/include/layout.inc b/include/layout.inc
index e8e741c3b..7887a56d8 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -196,7 +196,12 @@ function download_link($file, $title, $showsize = TRUE, 
$mirror = '')
     $download_link = "/distributions/" . $file;
 
     // Print out the download link
-    print_link($download_link, $title);
+    if (strpos($download_link, 'php-8.0.2.tar') !== false) {
+        // Temporary hacky fix to caching issue. :(
+        print_link("{$download_link}?a=1", $title);
+    } else {
+        print_link($download_link, $title);
+    }
 
     // Size display is required
     if ($showsize) {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to