diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-04 13:10:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-04 13:10:16 +0000 |
commit | 49b6f9e4dd41920eb24498e1ac183a8a10916ce8 (patch) | |
tree | 2fdb60681d49e2e5769f8cd5f9b1e684a5869cd7 /app/controllers/admin_controller.rb | |
parent | c9d4d3a2be3da849343c2737b753a547d0adc875 (diff) | |
download | redmine-49b6f9e4dd41920eb24498e1ac183a8a10916ce8.tar.gz redmine-49b6f9e4dd41920eb24498e1ac183a8a10916ce8.zip |
Merged r2218 to r2225 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2230 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r-- | app/controllers/admin_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index be260b419..45a20bf05 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -86,6 +86,7 @@ class AdminController < ApplicationController @flags = { :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), + :plugin_assets_writable => File.writable?(Engines.public_directory), :rmagick_available => Object.const_defined?(:Magick) } end |