X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fopenid.php;h=9128ecddcc25a02004703faee901c06b5a05d857;hb=0299b6f2caa5b3b956c9e00a17d6cf3c72966396;hp=cccd81005448512ba7c80189447faee80157120b;hpb=9cdde7482245faeaca569e150343930c634db5a2;p=quix0rs-gnu-social.git diff --git a/lib/openid.php b/lib/openid.php index cccd810054..9128ecddcc 100644 --- a/lib/openid.php +++ b/lib/openid.php @@ -19,7 +19,11 @@ if (!defined('LACONICA')) { exit(1); } +require_once(INSTALLDIR.'/classes/User_openid.php'); + +require_once('Auth/OpenID.php'); require_once('Auth/OpenID/Consumer.php'); +require_once('Auth/OpenID/SReg.php'); require_once('Auth/OpenID/MySQLStore.php'); function oid_store() { @@ -35,6 +39,6 @@ function oid_store() { function oid_consumer() { $store = oid_store(); - $consumer = Auth_OpenID_Consumer($store); + $consumer = new Auth_OpenID_Consumer($store); return $consumer; } \ No newline at end of file