X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/cf4186880853ccf48cf9938df39687f671a018b9..dde181e0fa49699fe27383d7051b66b1e6da067f:/cookbooks/wordpress/resources/site.rb diff --git a/cookbooks/wordpress/resources/site.rb b/cookbooks/wordpress/resources/site.rb index b29f95f3f..52bba4ce5 100644 --- a/cookbooks/wordpress/resources/site.rb +++ b/cookbooks/wordpress/resources/site.rb @@ -101,6 +101,8 @@ action :create do line += "/**\r\n" line += " * Don't allow file editing.\r\n" line += " */\r\n" + line += "define( 'WP_HOME', 'https://#{new_resource.site}');\r\n" + line += "define( 'WP_SITEURL', 'https://#{new_resource.site}');\r\n" line += "define( 'DISALLOW_FILE_EDIT', true);\r\n" line += "define( 'DISALLOW_FILE_MODS', true);\r\n" line += "define( 'AUTOMATIC_UPDATER_DISABLED', true);\r\n"