mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
php80: disable display_startup_errors except when debugging
while we're at it, PHP8 decided to enable display_startup_errors by default. Let's keep this disabled except when in debug deployment mode.
This commit is contained in:
parent
1a053334c2
commit
2e6f1e2e77
@ -27,6 +27,8 @@ error_reporting = E_ALL
|
||||
{% endif %}
|
||||
display_errors={% if system.deployment|default("production") == "debug" %}on{%else%}off{%endif%}
|
||||
|
||||
display_startup_errors={% if system.deployment|default("production") == "debug" %}on{%else%}off{%endif%}
|
||||
|
||||
log_errors=on
|
||||
error_log=/tmp/PHP_errors.log
|
||||
date.timezone="{{system.timezone|default('Etc/UTC')}}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user