Skip to content

Commit

Permalink
Disable warnings (This works around #13)
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed Jul 23, 2015
1 parent 52e9f14 commit fa351ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN sed -i "s|'IMS_MAP_ENDPOINT'.*|'IMS_MAP_ENDPOINT', 'http://ims:8080/QueryExp
RUN sed -i "s|'IMS_EXPAND_ENDPOINT'.*|'IMS_EXPAND_ENDPOINT', 'http://ims:8080/QueryExpander/expandXML?query=');|" deployment.settings.php
RUN sed -i "s|'PUELIA_MEMCACHE_HOST'.*|'PUELIA_MEMCACHE_HOST', 'memcached');|" deployment.settings.php

# Silence warnings (Issue #13)
RUN echo "display_errors=0" > /usr/local/etc/php/conf.d/ops-warnings.ini
RUN echo "log_errors=1" >> /usr/local/etc/php/conf.d/ops-warnings.ini
RUN echo "html_errors=0" >> /usr/local/etc/php/conf.d/ops-warnings.ini



#RUN sed -i '/<\/VirtualHost/ i\ <Directory /var/www/html/>\n AllowOverride All\n </Directory>' /etc/apache2/sites-available/000-default.conf
Expand Down

0 comments on commit fa351ce

Please sign in to comment.