Basic plugin support.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@752 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-09-23 17:19:27 +00:00
parent a42a115b8f
commit e4f0864e3a
12 changed files with 189 additions and 3 deletions
+2 -1
View File
@@ -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