Commit cbf77ff4 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Make default WP_CONFIGS pattern any depth

parent e44332bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ The path to a file containing lines to append to [**THEMES**](#themes).

**Type**: array\
**Required**: no\
**Default**: /etc/wordpress/*config.php
**Default**: /etc/wordpress/**/*config.php

This is an array of files to include in wp-config.php.  The default includes 
a wildcard which is expanded.  Wildcards in the environment variable will 
+2 −3
Original line number Diff line number Diff line
#!/bin/bash
#
# Copyright 2019-2021 Dominik Sekotill <dom.sekotill@kodo.org.uk>
# Copyright 2019-2022 Dominik Sekotill <dom.sekotill@kodo.org.uk>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -42,8 +42,7 @@ declare -a PHP_DIRECTIVES=(
	post_max_size=20M
)
declare -a WP_CONFIGS=(
	${WP_CONFIGS-}
	${CONFIG_DIR}/*config.php
	${WP_CONFIGS-${CONFIG_DIR}/**/*config.php}
)