From de9cdfbe7bcb0124437137943bb7d0cb60480c8c Mon Sep 17 00:00:00 2001
From: Raphael <raphael@joindiaspora.com>
Date: Tue, 5 Oct 2010 17:46:14 -0700
Subject: [PATCH] Always set the FACEBOOK constant

---
 config/environment.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config/environment.rb b/config/environment.rb
index 7fff237bdb..ddfc9c247d 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -15,6 +15,8 @@ if File.exists?(File.expand_path("./config/fb_config.yml"))
   FB_APP_ID  = fb_config['fb_app_id']
   HOST       = fb_config['host']
   FACEBOOK   = true
+else
+  FACEBOOK   = false
 end
 # Initialize the rails application
 Diaspora::Application.initialize!
-- 
GitLab