aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-07-28 12:49:06 +0000
committerfrancis <francis>2009-07-28 12:49:06 +0000
commitda073c68cadf831b1b146650400dfeb6be049aa4 (patch)
tree5633b7cf0881c33ed2aaa26340149c62682188e3
parent27fd1ba52231c685f430265007d6068b32f66f46 (diff)
Show environment
-rw-r--r--app/views/admin_general/debug.rhtml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/admin_general/debug.rhtml b/app/views/admin_general/debug.rhtml
index 3229c0bd4..f15b4ea36 100644
--- a/app/views/admin_general/debug.rhtml
+++ b/app/views/admin_general/debug.rhtml
@@ -17,6 +17,13 @@ Xapian::version_string <%=Xapian::version_string%>
Spec::VERSION::NAME/STRING <%=Spec::VERSION::NAME%> <%=Spec::VERSION::STRING%>
</p>
+<h2>Configuration</h2>
+
+<p>environment: <%= Rails::configuration.environment %>
+<br>environment_path: <%= Rails::configuration.environment_path %>
+<br>framework_paths: <%= Rails::configuration.framework_paths.to_yaml %>
+</p>
+
<h2>Environment variables</h2>
<pre>
<%= @request_env.to_yaml %>