Skip to content

Commit

Permalink
Merge pull request #588 from tobiasmboelz/opensearch
Browse files Browse the repository at this point in the history
www/opensearch.php: Echo XML declaration
  • Loading branch information
dlangille authored Aug 10, 2024
2 parents 5859bda + 90fd9c8 commit ad2bedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/opensearch.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php header('Content-Type: application/opensearchdescription+xml; charset=utf-8'); ?>
<?xml version="1.0"?>
<?php echo '<?xml version="1.0"?>' . "\n"; ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>FreshPorts</ShortName>
<Image width="16" height="16" type="image/x-icon"><?php echo 'https://' . $_SERVER['HTTP_HOST'] . '/favicon.ico' ?></Image>
Expand Down

0 comments on commit ad2bedc

Please sign in to comment.