Merge pull request #9733 from basvandijk/wordpress-fix-extraConfig

wordpress: execute the extraConfig before loading wp-settings.php
This commit is contained in:
Domen Kožar 2015-11-16 13:16:10 +01:00
commit b76519069d

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