mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Create 90-correct_config
This commit is contained in:
6
piwigo/rootfs/etc/cont-init.d/90-correct_config
Normal file
6
piwigo/rootfs/etc/cont-init.d/90-correct_config
Normal 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
|
||||
Reference in New Issue
Block a user