1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Fix windows builds releases file path

This commit is contained in:
Shivam Mathur
2025-08-27 03:59:09 +05:30
committed by Derick Rethans
parent 3c99682625
commit 4618a89a9b
2 changed files with 1 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
<?php
$baseDownloads = 'https://downloads.php.net/~windows/releases/';
$dataStr = @file_get_contents(__DIR__ . '/win-releases.json');
$dataStr = @file_get_contents(__DIR__ . '/../../backend/win-releases.json');
$releases = $dataStr ? json_decode($dataStr, true) : null;
if (!is_array($releases)) {