diff options
Diffstat (limited to 'lib/openid_consumer.php')
-rw-r--r-- | lib/openid_consumer.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/openid_consumer.php b/lib/openid_consumer.php new file mode 100644 index 000000000..3dfc09a1e --- /dev/null +++ b/lib/openid_consumer.php @@ -0,0 +1,14 @@ +<?php +/** + * OpenID library loader for consumers + */ + +$openid_path = dirname(dirname(__FILE__)) . '/vendors/php-openid/'; +$path = ini_get('include_path'); +$path = $openid_path . PATH_SEPARATOR . $path; +ini_set('include_path', $path); + +require_once 'Auth/OpenID.php'; +require_once 'Auth/OpenID/Consumer.php'; +require_once 'Auth/OpenID/SReg.php'; +require_once 'Auth/OpenID/AX.php'; |