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:
committed by
Derick Rethans
parent
3c99682625
commit
4618a89a9b
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user