diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-12-10 03:34:16 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-12-10 03:34:16 +0000 |
commit | e6f2e3385684ba95167a6728c9df95413a841e06 (patch) | |
tree | 98723e59b2a7f6547b8b8b8ce17af96e84aa47ca /config/application.rb | |
parent | ac36333e90d9ae3386829afdb3b4c1d8bac172f5 (diff) | |
download | redmine-e6f2e3385684ba95167a6728c9df95413a841e06.tar.gz redmine-e6f2e3385684ba95167a6728c9df95413a841e06.zip |
Allows configure plugins directory path in order to change the default location in test environment (#36320).
Patch by @tohosaku.
git-svn-id: https://svn.redmine.org/redmine/trunk@22507 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index 48e855c9b..f5062dfe7 100644 --- a/config/application.rb +++ b/config/application.rb @@ -85,6 +85,9 @@ module RedmineApp # for more options (same options as config.cache_store). config.redmine_search_cache_store = :memory_store + # Sets default plugin directory + config.redmine_plugin_directory = 'plugins' + # Configure log level here so that additional environment file # can change it (environments/ENV.rb would take precedence over it) config.log_level = Rails.env.production? ? :info : :debug |