diff options
author | Arun Persaud <arun@nubati.net> | 2009-04-25 00:33:14 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2009-04-25 11:32:25 -0700 |
commit | a57cfa3be6ee0fbce336dc98e2862ac39f2b1add (patch) | |
tree | b7e4fc46ca06b6147c005700fb2a092c5b13a080 /config.php_template | |
parent | 4cbc3848a891ac9addf10264d24a9f4273c5e355 (diff) | |
download | e-DoKo-a57cfa3be6ee0fbce336dc98e2862ac39f2b1add.tar.gz e-DoKo-a57cfa3be6ee0fbce336dc98e2862ac39f2b1add.tar.bz2 e-DoKo-a57cfa3be6ee0fbce336dc98e2862ac39f2b1add.zip |
NEW FEATURE: added OpenID support
Users can add and delete OpenIDs on the settings page and then log in
user those OpenIds.
They can also use their OpenIDs to register.
Diffstat (limited to 'config.php_template')
-rw-r--r-- | config.php_template | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/config.php_template b/config.php_template index 50f731a..93e951c 100644 --- a/config.php_template +++ b/config.php_template @@ -28,7 +28,7 @@ $EMAIL_REPLY=""; /* this should point to your index.file and to your domain. - * The HOST variable is also used to test, if files are called + * The HOST variable is also used to test, if files are called * from within e-DoKo, so it needs to be set. */ $INDEX = "/index.php"; @@ -39,4 +39,20 @@ /* the default timezone for you domain */ $defaulttimezone = date_default_timezone_get(); + + /* OpenId + * + * we use the php-openid library (tested with version 2.1.3) + * E-DoKo needs to know where to find the file examples/consumer/common.php + * that comes with the library. That file also needs to be modified the + * function getReturnTo(), change: + - return sprintf("%s://%s:%s%s/finish_auth.php", + + return sprintf("%s://%s:%s%s/index.php?action=login", + + */ + + /* Openidpath that points to the top php-openid directory */ + //$OPENIDPATH = "..fill in correct path here.../openid/php-openid-2.1.3/" + // leave empty if not used. + $OPENIDPATH = ''; ?>
\ No newline at end of file |