diff --git a/spotweb/rootfs/etc/cont-init.d/90-spotweb b/spotweb/rootfs/etc/cont-init.d/90-spotweb index 1de19bcd6..c6aa23f33 100644 --- a/spotweb/rootfs/etc/cont-init.d/90-spotweb +++ b/spotweb/rootfs/etc/cont-init.d/90-spotweb @@ -12,6 +12,8 @@ declare password declare port declare dbname +# Adapt to php version +mv /etc/php8/* /etc/php${PHP_VERS:-}/ || true if bashio::config.has_value 'remote_mysql_host'; then if ! bashio::config.has_value 'remote_mysql_database'; then