wordpress: Execute the extraConfig before loading wp-settings.php

This is needed so that settings defined in extraConfig actually get handled.
This commit is contained in:
Bas van Dijk 2015-09-09 01:12:10 +02:00
parent a403f130b6
commit a9332583eb

View File

@ -17,10 +17,10 @@ let
define('DB_HOST', '${config.dbHost}');
define('DB_CHARSET', 'utf8');
$table_prefix = '${config.tablePrefix}';
${config.extraConfig}
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
require_once(ABSPATH . 'wp-settings.php');
${config.extraConfig}
'';
# .htaccess to support pretty URLs