We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1ce5be commit 205828eCopy full SHA for 205828e
docker-entrypoint.sh
@@ -129,6 +129,9 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
129
if [ -e wp-config.php && -n $NO_AUTO_CONFIG ]; then
130
exec "$@"
131
fi
132
+ if [ -e wp-config.php && ! -w wp-config.php ]; then
133
+ exec "$@"
134
+ fi
135
# version 4.4.1 decided to switch to windows line endings, that breaks our seds and awks
136
# https://github.com/docker-library/wordpress/issues/116
137
# https://github.com/WordPress/WordPress/commit/1acedc542fba2482bab88ec70d4bea4b997a92e4
0 commit comments