From 19c632a18445251e579280fef7915b3b14a56082 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 31 Aug 2021 15:15:04 +0200 Subject: [PATCH] Update 41-folders --- piwigo/rootfs/etc/cont-init.d/41-folders | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/piwigo/rootfs/etc/cont-init.d/41-folders b/piwigo/rootfs/etc/cont-init.d/41-folders index c4c2a2e99..b1204e2e1 100644 --- a/piwigo/rootfs/etc/cont-init.d/41-folders +++ b/piwigo/rootfs/etc/cont-init.d/41-folders @@ -1,5 +1,10 @@ #!/usr/bin/with-contenv bash +################## +# CORRECT CONFIG # +################## +sed -i "s|$conf['show_php_errors'] = E_ALL;|$conf['show_php_errors'] = E_ALL & ~E_NOTICE & ~E_DEPRECATED;|g" /gallery/local/config/config.inc.php && echo "config corrected for php error" || true + ################## # SYMLINK CONFIG # ##################