diff options
author | Michiel de Jong <michiel@unhosted.org> | 2012-05-17 21:03:06 +0200 |
---|---|---|
committer | Michiel de Jong <michiel@unhosted.org> | 2012-05-17 21:03:06 +0200 |
commit | 2cc051516109cd117e8c0d48db25df737776365c (patch) | |
tree | 6c94ff184310c4905b0b0d14c24064210fabf4be /apps/user_webfinger | |
parent | f998ed331a6695b522fce74ef83bc945a9a114ea (diff) | |
download | nextcloud-server-2cc051516109cd117e8c0d48db25df737776365c.tar.gz nextcloud-server-2cc051516109cd117e8c0d48db25df737776365c.zip |
no use for double quotes here
Diffstat (limited to 'apps/user_webfinger')
-rw-r--r-- | apps/user_webfinger/host-meta.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_webfinger/host-meta.php b/apps/user_webfinger/host-meta.php index d0d4999c1be..32ffb512057 100644 --- a/apps/user_webfinger/host-meta.php +++ b/apps/user_webfinger/host-meta.php @@ -4,7 +4,7 @@ $hostMetaHeader = array( 'Content-Type' => 'application/xrd+json' ); $serverName = $_SERVER['SERVER_NAME']; -$hostMetaContents = "{\"links\":[{\"rel\":\"lrdd\",\"template\":\"http'.(isset($_SERVER['HTTPS'])?'s':'').'://'.$serverName.'/public.php?service=webfinger&q={uri}\"}]}"; +$hostMetaContents = '{"links":[{"rel":"lrdd","template":"http'.(isset($_SERVER['HTTPS'])?'s':'').'://'.$serverName.'/public.php?service=webfinger&q={uri}"}]}'; foreach($hostMetaHeader as $header => $value) { header($header . ": " . $value); } |