From c6812f6083ddf4507353ee3e77fb200b168cd54d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 13 Apr 2019 18:59:46 +0200 Subject: Print db and host in development mode --- templates/layouts/default.html.ep | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 1f82a2d..9ab9269 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -23,7 +23,7 @@ +% if (app->mode eq 'development') { +
+
+
+ Development Mode – Datenbank: <%= app->config->{db}->{database} %> + @ <%= app->config->{db}->{host} %> +
+
+
+% } +
% if (is_user_authenticated()) { % my $acc = current_user(); -- cgit v1.2.3