annotate .svn/pristine/7f/7fcf98062f225c31040e36d46ef397f977744c7b.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
rev   line source
Chris@1295 1 I18n.default_locale = 'en'
Chris@1295 2 I18n.backend = Redmine::I18n::Backend.new
Chris@1295 3
Chris@1295 4 require 'redmine'
Chris@1295 5
Chris@1295 6 # Load the secret token from the Redmine configuration file
Chris@1295 7 secret = Redmine::Configuration['secret_token']
Chris@1295 8 if secret.present?
Chris@1295 9 RedmineApp::Application.config.secret_token = secret
Chris@1295 10 end
Chris@1295 11
Chris@1295 12 Redmine::Plugin.load
Chris@1295 13 unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false
Chris@1295 14 Redmine::Plugin.mirror_assets
Chris@1295 15 end