framadate : tentative fix 2

This commit is contained in:
Gitouche 2023-10-26 18:46:38 +02:00
parent a916ddf744
commit 197b9b2288
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ WORKDIR /var/www/framadate
RUN git clone -b $version --depth=1 https://framagit.org/framasoft/framadate/framadate.git . \
&& sed -i -e 's|"smarty/smarty": "^4.0",|"smarty/smarty": "^4.3",|' /var/www/framadate/composer.json \
&& sed -i -e 's|isset($admin)|isset($admin) \&\& $admin|g' /var/www/framadate/tpl/part/comments_list.tpl \
&& chown -R 33:33 . \
&& if [ "$ENV" = "dev" ] ; then echo Using PHP production mode ; else echo Using PHP development mode && echo "error_reporting = E_ERROR | E_WARNING | E_PARSE\ndisplay_errors = On" > /usr/local/etc/php/conf.d/php.ini ; fi \
&& rm /etc/apache2/sites-enabled/000-default.conf