diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-12-12 19:16:56 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-12-12 19:16:56 -0500 |
commit | 3811d359431522fb368650bac36e941e0002bb67 (patch) | |
tree | c9fbd5a787e23c7646c98fcafd707c66a6d2fee0 /start.php | |
parent | 72c3e7ccdbb316c2a13c38183655d56b0548af59 (diff) | |
download | elgg-3811d359431522fb368650bac36e941e0002bb67.tar.gz elgg-3811d359431522fb368650bac36e941e0002bb67.tar.bz2 |
added consumer and server libs that can be loaded using Elgg's api
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,12 @@ <?php /** - * + * OpenID API Library */ +elgg_register_event_handler('init', 'system', 'openid_api_init'); +function openid_api_init() { + $dir = elgg_get_plugins_path() . 'openid_api/lib/'; + elgg_register_library('openid_comsumer', "$dir/openid_consumer.php"); + elgg_register_library('openid_server', "$dir/openid_server.php"); +} |