diff --git a/data/Dockerfiles/phpfpm/docker-entrypoint.sh b/data/Dockerfiles/phpfpm/docker-entrypoint.sh index c5aef67c..1bc66c2e 100755 --- a/data/Dockerfiles/phpfpm/docker-entrypoint.sh +++ b/data/Dockerfiles/phpfpm/docker-entrypoint.sh @@ -93,7 +93,7 @@ fi # Patching NC files, if any (fixes PHP 7.2.14 + NC 15.0.2) find /web/ -ipath '*lib/private/legacy/template.php' | while read -r template; do - sed -i "s/\$app \!== ''/\$app \!== '' \&\& \$app \!== 'core'/g" "${template}" + sed -i "s/\$app \!== '' )/\$app \!== '' \&\& \$app \!== 'core' )/g" "${template}"; done done exec "$@"