From 197b9b22883976ba305286f3b15003d45794b1fd Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Thu, 26 Oct 2023 18:46:38 +0200 Subject: [PATCH] framadate : tentative fix 2 --- podman-framadate/container/Containerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/podman-framadate/container/Containerfile b/podman-framadate/container/Containerfile index 14a48bf..7d92f3d 100644 --- a/podman-framadate/container/Containerfile +++ b/podman-framadate/container/Containerfile @@ -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