From 85d61ff9d9953b887b898acb6d65f04e4ecc19ed Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Tue, 21 Oct 2025 09:59:04 +1000 Subject: [PATCH 1/2] docs: maybe suggest showerrors=false to hide backtraces? --- docs/simplesamlphp-install.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/simplesamlphp-install.md b/docs/simplesamlphp-install.md index eba882de27..d55097d687 100644 --- a/docs/simplesamlphp-install.md +++ b/docs/simplesamlphp-install.md @@ -279,6 +279,14 @@ Here is an example of the configuration option: You can see [a list of Supported Timezones at php.net](http://php.net/manual/en/timezones.php). +You might consider setting showerrors to `false` to hide error +descriptions and backtraces from the browser. + +```php +'showerrors' => false, +``` + + ## Configuring PHP ### Sending e-mails from PHP From 2b71cbd3454c6144c46d75e6e99fdf6155bbd0e5 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Tue, 21 Oct 2025 10:02:55 +1000 Subject: [PATCH 2/2] yay for lint. those \n\n are killers --- docs/simplesamlphp-install.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/simplesamlphp-install.md b/docs/simplesamlphp-install.md index d55097d687..59f6b1ac06 100644 --- a/docs/simplesamlphp-install.md +++ b/docs/simplesamlphp-install.md @@ -286,7 +286,6 @@ descriptions and backtraces from the browser. 'showerrors' => false, ``` - ## Configuring PHP ### Sending e-mails from PHP