From d7d57c02d7daec6bab814e23da0732830c657854 Mon Sep 17 00:00:00 2001 From: Morteza Date: Sat, 20 Apr 2019 17:16:07 +0430 Subject: [PATCH 1/3] Update template based on latest version --- templates/wp-config.mustache | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/wp-config.mustache b/templates/wp-config.mustache index 2d973f202..122202213 100644 --- a/templates/wp-config.mustache +++ b/templates/wp-config.mustache @@ -18,7 +18,7 @@ * @package WordPress */ -// ** MySQL settings ** // +// ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define( 'DB_NAME', '{{dbname}}' ); @@ -75,8 +75,9 @@ define( 'WPLANG', '{{locale}}' ); /* That's all, stop editing! Happy publishing. */ /** Absolute path to the WordPress directory. */ -if ( ! defined( 'ABSPATH' ) ) +if ( ! defined( 'ABSPATH' ) ){ define( 'ABSPATH', dirname( __FILE__ ) . '/' ); +} /** Sets up WordPress vars and included files. */ -require_once ABSPATH . 'wp-settings.php'; +require_once( ABSPATH . 'wp-settings.php' ); From 4adea609ce143e35a61c05fe7dc1813e0856abdc Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Sat, 20 Apr 2019 21:03:38 +0430 Subject: [PATCH 2/3] Update templates/wp-config.mustache Co-Authored-By: man4toman --- templates/wp-config.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/wp-config.mustache b/templates/wp-config.mustache index 122202213..6bbcddd54 100644 --- a/templates/wp-config.mustache +++ b/templates/wp-config.mustache @@ -75,7 +75,7 @@ define( 'WPLANG', '{{locale}}' ); /* That's all, stop editing! Happy publishing. */ /** Absolute path to the WordPress directory. */ -if ( ! defined( 'ABSPATH' ) ){ +if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', dirname( __FILE__ ) . '/' ); } From 4f83a5611915016fc0c67266946caa12195166c1 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Sun, 21 Apr 2019 21:04:14 +0430 Subject: [PATCH 3/3] Update templates/wp-config.mustache Co-Authored-By: man4toman --- templates/wp-config.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/wp-config.mustache b/templates/wp-config.mustache index 6bbcddd54..9c5cd0965 100644 --- a/templates/wp-config.mustache +++ b/templates/wp-config.mustache @@ -80,4 +80,4 @@ if ( ! defined( 'ABSPATH' ) ) { } /** Sets up WordPress vars and included files. */ -require_once( ABSPATH . 'wp-settings.php' ); +require_once ABSPATH . 'wp-settings.php';