Create 90-correct_config

This commit is contained in:
Alexandre
2021-08-31 15:57:24 +02:00
committed by GitHub
parent f3e9b2bd82
commit 34f7a444ae

View File

@@ -0,0 +1,6 @@
#!/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