From 32782a7f9fd4e7a1f4cc8ce2c72d3257dec23d52 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 20 Feb 2007 20:17:34 +0000 Subject: [PATCH] added back database adapter name on admin/info git-svn-id: http://redmine.rubyforge.org/svn/trunk@262 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/admin_controller.rb | 1 + app/views/admin/info.rhtml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 @@

<%=l(:label_information_plural)%>

-

<%=l(:field_version)%>: redMine <%= Redmine::VERSION %>

\ No newline at end of file +

<%=l(:field_version)%>: redMine <%= Redmine::VERSION %> (<%= @db_adapter_name %>)

\ No newline at end of file