mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Removes plugins_path from configuration file (#24007).
git-svn-id: http://svn.redmine.org/redmine/trunk@16675 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
557f8bf87a
commit
7b6e6b9370
@ -75,15 +75,6 @@ default:
|
||||
# attachments_storage_path: D:/redmine/files
|
||||
attachments_storage_path:
|
||||
|
||||
# Absolute path to the directory where plugins are stored.
|
||||
# The default is the 'plugins' directory in your Redmine instance.
|
||||
# Your Redmine instance needs to have read permission on this
|
||||
# directory.
|
||||
# Examples:
|
||||
# plugins_path: /var/redmine/plugins
|
||||
# plugins_path: D:/redmine/plugins
|
||||
plugins_path:
|
||||
|
||||
# Configuration of the autologin cookie.
|
||||
# autologin_cookie_name: the name of the cookie (default: autologin)
|
||||
# autologin_cookie_path: the cookie path (default: /)
|
||||
|
||||
@ -44,7 +44,7 @@ module Redmine #:nodoc:
|
||||
# When rendered, the plugin settings value is available as the local variable +settings+
|
||||
class Plugin
|
||||
cattr_accessor :directory
|
||||
self.directory = Redmine::Configuration['plugins_path'] || File.join(Rails.root, 'plugins')
|
||||
self.directory = File.join(Rails.root, 'plugins')
|
||||
|
||||
cattr_accessor :public_directory
|
||||
self.public_directory = File.join(Rails.root, 'public', 'plugin_assets')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user