Revision 1297:0a574315af3e .svn/pristine/7f
| .svn/pristine/7f/7fcf98062f225c31040e36d46ef397f977744c7b.svn-base | ||
|---|---|---|
| 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 |
|
Also available in: Unified diff