summaryrefslogtreecommitdiff
path: root/www/api/opensearch.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-11-01 06:41:25 +0100
committerChristian Weiske <cweiske@cweiske.de>2011-11-01 06:41:25 +0100
commite81599e4375b4ae12ff7fe65e0810479ad719b4a (patch)
treebef272c1d7499d6ef0a19e63f95c8a216f160ce4 /www/api/opensearch.php
parent5d929ec8e0b9bbee267c2eaa1837ce1910d08420 (diff)
downloadsemanticscuttle-e81599e4375b4ae12ff7fe65e0810479ad719b4a.tar.gz
semanticscuttle-e81599e4375b4ae12ff7fe65e0810479ad719b4a.tar.bz2
Fix bug #3399815: PHP error in opensearch API in 0.98.3
Diffstat (limited to 'www/api/opensearch.php')
-rw-r--r--www/api/opensearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/api/opensearch.php b/www/api/opensearch.php
index db95639..3e7dbf7 100644
--- a/www/api/opensearch.php
+++ b/www/api/opensearch.php
@@ -1,8 +1,8 @@
<?php
$httpContentType = 'text/xml';
require_once '../www-header.php';
+echo '<' . '?xml version="1.0" encoding="utf-8" ?' . ">\n";
?>
-<?xml version="1.0" encoding="utf-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName><?php echo $GLOBALS['sitename']?></ShortName>
<LongName></LongName>