Mercurial > hg > soundsoftware-site
comparison .svn/pristine/7f/7fcf98062f225c31040e36d46ef397f977744c7b.svn-base @ 1296:038ba2d95de8 redmine-2.2
Fix redmine-2.2 branch update (add missing svn files)
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:05:06 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1296:038ba2d95de8 |
---|---|
1 I18n.default_locale = 'en' | |
2 I18n.backend = Redmine::I18n::Backend.new | |
3 | |
4 require 'redmine' | |
5 | |
6 # Load the secret token from the Redmine configuration file | |
7 secret = Redmine::Configuration['secret_token'] | |
8 if secret.present? | |
9 RedmineApp::Application.config.secret_token = secret | |
10 end | |
11 | |
12 Redmine::Plugin.load | |
13 unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false | |
14 Redmine::Plugin.mirror_assets | |
15 end |