]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wordpress/resources/site.rb
wordpress: Set 128M memory limit as required by WPML
[chef.git] / cookbooks / wordpress / resources / site.rb
index c0e34dcff6de6806f8219fe6be0e7fcd9a3ecf4e..393c47578101213ed8ca9baf94cd65d7fac0a04d 100644 (file)
@@ -103,7 +103,8 @@ action :create do
       line += "define( 'FORCE_SSL_LOGIN', true);\r\n"
       line += "define( 'FORCE_SSL_ADMIN', true);\r\n"
       line += "define( 'WP_FAIL2BAN_SITE_HEALTH_SKIP_FILTERS', true);\r\n"
-      line += "define( 'WP_MEMORY_LIMIT', '256M');\r\n"
+      line += "define( 'WP_ENVIRONMENT_TYPE', 'production');\r\n"
+      line += "define( 'WP_MEMORY_LIMIT', '128M');\r\n"
     end
 
     line