2009-02-21 14:04:50 +03:00
|
|
|
I18n.default_locale = 'en'
|
2012-11-18 21:41:31 +04:00
|
|
|
I18n.backend = Redmine::I18n::Backend.new
|
2008-07-04 21:58:14 +04:00
|
|
|
|
|
|
|
require 'redmine'
|
2012-04-25 21:17:49 +04:00
|
|
|
|
2012-04-28 16:00:45 +04:00
|
|
|
# Load the secret token from the Redmine configuration file
|
|
|
|
secret = Redmine::Configuration['secret_token']
|
|
|
|
if secret.present?
|
|
|
|
RedmineApp::Application.config.secret_token = secret
|
|
|
|
end
|
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
Redmine::Plugin.load
|
2012-04-28 15:07:59 +04:00
|
|
|
unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false
|
|
|
|
Redmine::Plugin.mirror_assets
|
|
|
|
end
|