Commit 45e6b00e authored by jplang's avatar jplang

Removes plugins_path from configuration file (#24007).

git-svn-id: https://svn.redmine.org/redmine/trunk@16675 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 0f03af4d
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment