Make MEDIAWIKI_DEBUG also control level of PHP warnings shown.

This commit is contained in:
Flancian 2023-05-08 22:32:54 +02:00
parent 3101cff3e8
commit a931c54b31
2 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@ export LOCAL_SETTINGS_CONF_VERSION=v12
export HTACCESS_CONF_VERSION=v1
export ENTRYPOINT_CONF_VERSION=v11
export COMPOSER_LOCAL_CONF_VERSION=v5
export PHP_INI_VERSION=v1
export PHP_INI_VERSION=v2
export SAML_ENTRYPOINT_CONF_VERSION=v3

View File

@ -2,3 +2,7 @@ upload_max_filesize = 10M
post_max_size = 10M
max_execution_time = 7200
max_file_uploads = 1000
{{ if eq (env "MEDIAWIKI_DEBUG") "0" }}
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
{{ end }}