Skip to content

Commit 3e6f4f4

Browse files
Sean-OSheabastianallgeier
authored andcommitted
Link changed to a more relevant section of the page
1 parent f79b26d commit 3e6f4f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/2_reference/6_system/1_options/0_debug/reference-article.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ In a production environment, always log errors to your PHP error logs.
2525

2626
To avoid accidentally enabling debugging in production, but to still be able to use it in certain situations, you have different options:
2727

28-
- Disable `debug` in `config.php` and only enable it in in the config for your local/staging setup, see (link: docs/guide/configuration#the-config-php__using-multiple-config-files text: Multiple config files)
28+
- Disable `debug` in `config.php` and only enable it in in the config for your local/staging setup, see (link: docs/guide/configuration#multi-environment-setup text: Multiple config files)
2929
- Use conditions for the `debug` option in `config.php`, e.g. based on server name or logged in users
3030
```php
3131
'debug' => str_ends_with($_SERVER['SERVER_NAME'] ?? '', '.test') || @$_SERVER['SERVER_NAME'] === 'localhost', // enable debug for domains that end on ".test"

0 commit comments

Comments
 (0)