summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/admin_controller.rb1
-rw-r--r--app/views/admin/info.rhtml2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index 84787ca37..d5574c1b5 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -51,5 +51,6 @@ class AdminController < ApplicationController
end
def info
+ @db_adapter_name = ActiveRecord::Base.connection.adapter_name
end
end
diff --git a/app/views/admin/info.rhtml b/app/views/admin/info.rhtml
index 144138f40..b9f50af44 100644
--- a/app/views/admin/info.rhtml
+++ b/app/views/admin/info.rhtml
@@ -1,3 +1,3 @@
<h2><%=l(:label_information_plural)%></h2>
-<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