Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/footer.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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":
Expand Down
Loading