Commit 5cd54704 authored by Fabio Montefuscolo's avatar Fabio Montefuscolo

create a loop to include all contents from wp-config.d

parent 08171ff2
......@@ -40,8 +40,9 @@
$_SERVER['HTTPS'] = 'on';
}
if (file_exists(ABSPATH . 'wp-config-extra.php')) {
include(ABSPATH . 'wp-config-extra.php');
foreach(glob(ABSPATH . 'wp-config.d/*.php') as $config) {
include($config);
}
require_once(ABSPATH . 'wp-settings.php');
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment