diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-23 17:19:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-23 17:19:27 +0000 |
commit | e4f0864e3a7f17f0e8a282aad29202f53bf11139 (patch) | |
tree | a40440471a6b0a8bc8aedf9d89d8bf2ef27e918f /app/controllers/admin_controller.rb | |
parent | a42a115b8fa21ab506cd40765a9e5684f022451b (diff) | |
download | redmine-e4f0864e3a7f17f0e8a282aad29202f53bf11139.tar.gz redmine-e4f0864e3a7f17f0e8a282aad29202f53bf11139.zip |
Basic plugin support.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@752 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r-- | app/controllers/admin_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index ccc107507..bceab361c 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -74,6 +74,7 @@ class AdminController < ApplicationController :default_admin_changed => User.find(:first, :conditions => ["login=? and hashed_password=?", 'admin', User.hash_password('admin')]).nil?, :file_repository_writable => File.writable?(Attachment.storage_path), :rmagick_available => Object.const_defined?(:Magick) - } + } + @plugins = Redmine::Plugin.registered_plugins end end |