diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-11-01 06:41:25 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-11-01 06:41:25 +0100 |
commit | e81599e4375b4ae12ff7fe65e0810479ad719b4a (patch) | |
tree | bef272c1d7499d6ef0a19e63f95c8a216f160ce4 /www/api/opensearch.php | |
parent | 5d929ec8e0b9bbee267c2eaa1837ce1910d08420 (diff) | |
download | semanticscuttle-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.php | 2 |
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> |