diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-20 20:03:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-20 20:03:27 +0000 |
commit | f3f75f557a34a4b6183aa0cdf8b95f4ce5864850 (patch) | |
tree | 68c58315f0cb94bb5070b9a0028ed3dc7174ffd9 /app/controllers/admin_controller.rb | |
parent | 8bf5759d26946f8641ba35d827b2e74616a88bbf (diff) | |
download | redmine-f3f75f557a34a4b6183aa0cdf8b95f4ce5864850.tar.gz redmine-f3f75f557a34a4b6183aa0cdf8b95f4ce5864850.zip |
added some diagnostic information on admin/info
git-svn-id: http://redmine.rubyforge.org/svn/trunk@359 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r-- | app/controllers/admin_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index a9ad09ed7..907c0e743 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -52,5 +52,7 @@ class AdminController < ApplicationController def info @db_adapter_name = ActiveRecord::Base.connection.adapter_name + @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) end end |