set logger for openid to default logger. The openid gem defaults logging to STDERR which could lead to write errors on some restricted hosting providers

see discussion at http://www.getontracks.org/forums/viewthread/367/
This commit is contained in:
Reinier Balt 2009-04-08 09:18:51 +02:00
parent dd5b479c5d
commit c6b6bd97b9

View file

@ -86,8 +86,10 @@ if ( SITE_CONFIG['authentication_schemes'].include? 'ldap')
SimpleLdapAuthenticator.use_ssl = ldap['ssl']
SimpleLdapAuthenticator.login_format = ldap['login_format']
end
if ( SITE_CONFIG['authentication_schemes'].include? 'open_id')
#requires ruby-openid gem to be installed
OpenID::Util.logger = RAILS_DEFAULT_LOGGER
end
tracks_version='1.8devel'
@ -96,4 +98,4 @@ tracks_version='1.8devel'
info=`git log --pretty=format:"%ai" -1`
tracks_version=tracks_version + ' ('+info+')'
TRACKS_VERSION=tracks_version
TRACKS_VERSION=tracks_version