Make MEDIAWIKI_DEBUG also control level of PHP warnings shown.

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

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 }}