Disable errors reporting in output

This commit is contained in:
Glenn Y. Rolland 2018-03-26 10:57:39 +02:00
parent 37de20f791
commit 00609bedd0
2 changed files with 2 additions and 0 deletions

View file

@ -29,6 +29,7 @@ RUN unzip -d /usr/src /tmp/dolibarr-7.0.0.zip \
ADD php-uploads.ini /usr/local/etc/php/conf.d/glenux-uploads.ini ADD php-uploads.ini /usr/local/etc/php/conf.d/glenux-uploads.ini
ADD php-performance.ini /usr/local/etc/php/conf.d/glenux-performance.ini ADD php-performance.ini /usr/local/etc/php/conf.d/glenux-performance.ini
ADD php-errors.ini /usr/local/etc/php/conf.d/glenux-errors.ini
RUN sed \ RUN sed \
-i 's|/var/www/html|/var/www/html/htdocs|' \ -i 's|/var/www/html|/var/www/html/htdocs|' \

1
php-errors.ini Normal file
View file

@ -0,0 +1 @@
error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED