From 0ed82f8b1f11d3a4da2af00ad1387b985fae3a80 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Tue, 23 Mar 2010 02:03:45 +0000 Subject: [PATCH] Added warning if exception details are displayed Added a warning to disable exception details in prouction mode, and a link to an admin settings page to disable the setting if required --- templates/errors/unhandled-exception.tpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/errors/unhandled-exception.tpl b/templates/errors/unhandled-exception.tpl index f1e02c9..e697a95 100644 --- a/templates/errors/unhandled-exception.tpl +++ b/templates/errors/unhandled-exception.tpl @@ -33,4 +33,10 @@ + +

+ Note: Exception details should not be displayed on production systems. + Disable the debug.show_exceptions + setting to omit the exception details from this page. +

{/if} \ No newline at end of file