diff --git a/lib/plugins/TaskRunner/WordPressApp.js b/lib/plugins/TaskRunner/WordPressApp.js index 48cda4b5..4044ed41 100644 --- a/lib/plugins/TaskRunner/WordPressApp.js +++ b/lib/plugins/TaskRunner/WordPressApp.js @@ -98,6 +98,17 @@ class WordPressApp extends LAMPApp { ` sed -i "1i${this.wordpressConfigOverride()}" /var/www/html/wp-config.php`, ` sed -i "$(echo $WP_CONFIG_WPSETTINGS_LINE_NUMBER)i\\$table_prefix = '${this.options.databasePrefix}';" /var/www/html/wp-config.php`, 'fi', + + // Prepend the probo-config.php file to the wp-config file. + `sed -i "1i " /var/www/html/wp-config.php`, + + // Create the probo-config file to override any user defined settings. + `echo "" >> /var/www/html/probo-config.php;`, ]); // The boilerplate is significantly more simple.