photomix/config/environment.rb

9 lines
295 B
Ruby
Raw Normal View History

2010-09-17 17:57:33 +02:00
# Load the rails application
require File.expand_path('../application', __FILE__)
2009-05-22 14:13:46 +02:00
2010-09-17 17:57:33 +02:00
# Load app vars from local file
2012-07-24 23:26:16 +02:00
photomix_env = File.join(Rails.root, 'config', 'photomix.rb')
load(photomix_env) if File.exists?(photomix_env)
2010-09-17 17:57:33 +02:00
# Initialize the rails application
2012-07-24 23:26:16 +02:00
Photomix::Application.initialize!