aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/start.php b/start.php
index 26fa340b0..09725ab17 100644
--- a/start.php
+++ b/start.php
@@ -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");
+}