]> source.dussan.org Git - redmine.git/commitdiff
added back database adapter name on admin/info
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 Feb 2007 20:17:34 +0000 (20:17 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 Feb 2007 20:17:34 +0000 (20:17 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@262 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/admin_controller.rb
app/views/admin/info.rhtml

index 84787ca37719875f56786fb9d9cc6807dcea6d12..d5574c1b54089363a53895e1797e78d0c1dff903 100644 (file)
@@ -51,5 +51,6 @@ class AdminController < ApplicationController
   end\r
   \r
   def info\r
+    @db_adapter_name = ActiveRecord::Base.connection.adapter_name\r
   end  \r
 end
index 144138f4043bb51b0fc8519b147171db59abab79..b9f50af44a881202c8f0a2efa1df06489af5c5fd 100644 (file)
@@ -1,3 +1,3 @@
 <h2><%=l(:label_information_plural)%></h2>\r
 \r
-<p><%=l(:field_version)%>: <strong>redMine <%= Redmine::VERSION %></strong></p>
\ No newline at end of file
+<p><%=l(:field_version)%>: <strong>redMine <%= Redmine::VERSION %></strong> (<%= @db_adapter_name %>)</p>
\ No newline at end of file