[CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies

This adds a composer.json for all dependencies that are available
This commit is contained in:
Diogo Cordeiro
2018-03-11 21:23:55 -06:00
parent 0b58465fb9
commit 2a06261f75
2697 changed files with 205282 additions and 42340 deletions

View File

@@ -0,0 +1,31 @@
<?php
require_once "lib/session.php";
require_once "lib/render.php";
define('idpage_pat',
'<html>
<head>
<link rel="openid2.provider openid.server" href="%s"/>
<meta http-equiv="X-XRDS-Location" content="%s" />
</head>
<body>
This is the identity page for users of this server.
</body>
</html>');
function idpage_render($identity)
{
$xrdsurl = buildURL('userXrds')."?user=".urlencode($identity);
$headers = array(
'X-XRDS-Location: '.$xrdsurl);
$body = sprintf(idpage_pat,
buildURL(),
$xrdsurl);
return array($headers, $body);
}
?>