correct xml syntax
This commit is contained in:
parent
5685965fdb
commit
f928d4af56
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ if(substr($userName, 0, 5) == 'acct:') {
|
|||
}
|
||||
echo "<";
|
||||
?>
|
||||
xml version="1.0" encoding="UTF-8"?>
|
||||
?xml version="1.0" encoding="UTF-8"?>
|
||||
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0" xmlns:hm="http://host-meta.net/xrd/1.0">
|
||||
<hm:Host xmlns="http://host-meta.net/xrd/1.0"><?php echo $_SERVER['SERVER_NAME'] ?></hm:Host>
|
||||
<Link rel="http://unhosted.org/spec/dav/0.1" href="http<?php echo ($_SERVER['HTTPS']?'s':''); ?>://<?php echo $_SERVER['SERVER_NAME'] ?>/apps/unhosted/compat.php/<?php echo $userName ?>/unhosted/"></Link>
|
||||
<Link rel="http://unhosted.org/spec/dav/0.1" href="http<?php echo ($_SERVER['HTTPS']?'s':''); ?>://<?php echo $_SERVER['SERVER_NAME'] ?>/apps/unhosted/compat.php/<?php echo $userName ?>/unhosted/" />
|
||||
</XRD>
|
||||
|
|
Loading…
Reference in a new issue