Newer
Older
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
Daniel Vincent Grippi
a validé
# Load the rails application
require File.expand_path('../application', __FILE__)
if File.exists?(File.expand_path("./config/fb_config.yml"))
# Load facebook connection application credentials
fb_config = YAML::load(File.open(File.expand_path("./config/fb_config.yml")))
FB_API_KEY = fb_config['fb_api_key']
FB_SECRET = fb_config['fb_secret']
FB_APP_ID = fb_config['fb_app_id']
HOST = fb_config['host']
FACEBOOK = true
end
# Initialize the rails application
Diaspora::Application.initialize!