[web-php] master: Fix broken links (#2023)
Author: Liviu-Mihail Concioiu (liviuconcioiu)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2026-09-23T18:50:06+08:00
Commit: https://github.com/php/web-php/commit/634c1526e49457e5b7e7969744e443a653586263
Raw diff: https://github.com/php/web-php/commit/634c1526e49457e5b7e7969744e443a653586263.diff
Fix broken links (#2023)
Changed paths:
M include/footer.inc
M openapi.yml
Diff:
diff --git a/include/footer.inc b/include/footer.inc
index faa7305d68..c0acdbb4a2 100644
--- a/include/footer.inc
+++ b/include/footer.inc
@@ -82,7 +82,7 @@ if (!empty($_SERVER['BASE_PAGE'])
<li><a href="/sites.php">Other PHP.net sites</a></li>
<li><a href="/privacy.php">Privacy policy</a></li>
<?php if (!empty($_SERVER['BASE_PAGE']) &&
strncmp($_SERVER['BASE_PAGE'], 'manual', 6) !== 0): ?>
- <li><a href="https://github.com/php/web-php/blob/master/<?php
echo urlencode($_SERVER['BASE_PAGE']); ?>">View Source</a></li>
+ <li><a href="https://github.com/php/web-php/blob/master/public/<?php
echo urlencode($_SERVER['BASE_PAGE']); ?>">View Source</a></li>
<?php endif; ?>
</ul>
</div>
diff --git a/openapi.yml b/openapi.yml
index 3ab1221e5b..72456c5b70 100644
--- a/openapi.yml
+++ b/openapi.yml
@@ -31,7 +31,7 @@ paths:
Returns information about the host running php.net.
Historically, this was unique per mirror.
With the move to a CDN model in 2019, there is now only one canonical source, and
thus only one relevant configuration.
- Refer to https://github.com/php/web-php/blob/master/mirror-info.php
for the serialization format of the response.
+ Refer to https://github.com/php/web-php/blob/master/public/mirror-info.php
for the serialization format of the response.
responses:
"200":
description: "Successful response of host configuration. This API does not
error."
@@ -42,7 +42,7 @@ paths:
readOnly: true
externalDocs:
description: "This pipe delimited string's contents
are described in the source code for this file."
- url: "https://github.com/php/web-php/blob/master/mirror-info.php"
+ url: "https://github.com/php/web-php/blob/master/public/mirror-info.php"
example: "https://www.php.net/|8.4.5|1743832640|0|0|en|manual-noalias|1|Core,date,libxml,json,SPL,Zend
OPcache|php-web4|169.254.12.255"
"/releases/feed.php":
Thread (1 message)
- Liviu-Mihail Concioiu via GitHub