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 3e3f0aa commit bdaae2aCopy full SHA for bdaae2a
docker-entrypoint.sh
@@ -126,10 +126,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
126
: "${WORDPRESS_DB_PASSWORD:=}"
127
: "${WORDPRESS_DB_NAME:=wordpress}"
128
129
- if [ -e wp-config.php && -n "$NO_AUTO_CONFIG" ]; then
+ if [ -e wp-config.php ] && [ "${AUTO_CONFIG:-0}" == 1 ]; then
130
exec "$@"
131
fi
132
- if [ -e wp-config.php && ! -w wp-config.php ]; then
+ if [ -e wp-config.php ] && [ ! -w wp-config.php ]; then
133
134
135
# version 4.4.1 decided to switch to windows line endings, that breaks our seds and awks
0 commit comments