diff --git a/templates/wp-config.php.j2 b/templates/wp-config.php.j2 index bf21fe4..35c26c9 100644 --- a/templates/wp-config.php.j2 +++ b/templates/wp-config.php.j2 @@ -18,4 +18,7 @@ define("WP_ENV", "{{ wordpress_env }}"); if (!defined("ABSPATH")) define("ABSPATH", dirname(__FILE__) . "/"); +if (!defined("WP_CONTENT_DIR")) + define("WP_CONTENT_DIR", ABSPATH . "wp-content"); + require_once(ABSPATH . "wp-settings.php");