##// END OF EJS Templates
added some diagnostic information on admin/info...
Jean-Philippe Lang -
r356:f3f75f557a34
parent child
Show More
1 NO CONTENT: new file 100644, binary diff hidden
@@ -52,5 +52,7 class AdminController < ApplicationController
52 52
53 53 def info
54 54 @db_adapter_name = ActiveRecord::Base.connection.adapter_name
55 @default_admin_changed = User.find(:first, :conditions => ["login=? and hashed_password=?", 'admin', User.hash_password('admin')]).nil?
56 @file_repository_writable = File.writable?(Attachment.storage_path)
55 57 end
56 58 end
@@ -1,3 +1,8
1 1 <h2><%=l(:label_information_plural)%></h2>
2 2
3 3 <p><%=l(:field_version)%>: <strong>redMine <%= Redmine::VERSION %></strong> (<%= @db_adapter_name %>)</p>
4
5 <table class="list">
6 <tr class="odd"><td>File repository writable</td><td><%= image_tag (@file_repository_writable ? 'true' : 'false'), :style => "vertical-align:bottom;" %></td></tr>
7 <tr class="even"><td>Default administrator account changed</td><td><%= image_tag (@default_admin_changed ? 'true' : 'false'), :style => "vertical-align:bottom;" %></td></tr>
8 </table>
General Comments 0
You need to be logged in to leave comments. Login now