git.cweiske.de
/
indieauth-openid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9ac34d
)
always send indieauth header
author
Christian Weiske
<
[email protected]
>
Mon, 15 Jun 2015 19:23:51 +0000
(21:23 +0200)
committer
Christian Weiske
<
[email protected]
>
Mon, 15 Jun 2015 19:23:51 +0000
(21:23 +0200)
www/index.php
patch
|
blob
|
history
diff --git
a/www/index.php
b/www/index.php
index de410c1af7484d92b705266a8c0f610930d54ae2..3a32eea7d9e10d7e781d77e6a9734fd26a43db4d 100644
(file)
--- a/
www/index.php
+++ b/
www/index.php
@@
-13,6
+13,7
@@
* @link http://indiewebcamp.com/auth-brainstorming
* @link https://indieauth.com/developers
*/
+header('IndieAuth: authorization_endpoint');
if (($_SERVER['REQUEST_METHOD'] == 'GET' || $_SERVER['REQUEST_METHOD'] == 'HEAD')
&& count($_GET) == 0
) {
@@
-131,7
+132,6
@@
function getBaseUrl()
. $file;
}
-header('IndieAuth: authorization_endpoint');
session_start();
$returnTo = getBaseUrl();
$realm = getBaseUrl();