mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-19 11:08:11 +01:00
7 lines
282 B
Plaintext
7 lines
282 B
Plaintext
#!/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
|