com web/php: Temporary hacky fix for cache issue and old 8.0.2 tarballs: include/layout.inc

From: Date: Thu, 04 Feb 2021 16:50:18 +0000
Subject: com web/php: Temporary hacky fix for cache issue and old 8.0.2 tarballs: include/layout.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-29096@lists.php.net to get a copy of this message
Commit: 2e0a93ef3f8cc0806553bd5ec1dcab467cf46ad9 Author: Sara Golemon <pollita@php.net> 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) {

« previous php.webmaster (#29096) next »