Merge pull request #9733 from basvandijk/wordpress-fix-extraConfig
wordpress: execute the extraConfig before loading wp-settings.php
This commit is contained in:
commit
b76519069d
|
@ -17,10 +17,10 @@ let
|
||||||
define('DB_HOST', '${config.dbHost}');
|
define('DB_HOST', '${config.dbHost}');
|
||||||
define('DB_CHARSET', 'utf8');
|
define('DB_CHARSET', 'utf8');
|
||||||
$table_prefix = '${config.tablePrefix}';
|
$table_prefix = '${config.tablePrefix}';
|
||||||
|
${config.extraConfig}
|
||||||
if ( !defined('ABSPATH') )
|
if ( !defined('ABSPATH') )
|
||||||
define('ABSPATH', dirname(__FILE__) . '/');
|
define('ABSPATH', dirname(__FILE__) . '/');
|
||||||
require_once(ABSPATH . 'wp-settings.php');
|
require_once(ABSPATH . 'wp-settings.php');
|
||||||
${config.extraConfig}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# .htaccess to support pretty URLs
|
# .htaccess to support pretty URLs
|
||||||
|
|
Loading…
Reference in New Issue