photomix/config/environment.rb
Alexander Negoda e59d11e1c9 big update
2012-07-25 01:26:16 +04:00

9 lines
295 B
Ruby

# Load the rails application
require File.expand_path('../application', __FILE__)
# Load app vars from local file
photomix_env = File.join(Rails.root, 'config', 'photomix.rb')
load(photomix_env) if File.exists?(photomix_env)
# Initialize the rails application
Photomix::Application.initialize!