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 # ##################